Class OpenNat
Inherited Members
Namespace: SharpOpenNat
Assembly: SharpOpenNat.dll
Syntax
public static class OpenNat
Fields
| Edit this page View SourceTraceSource
The TraceSource instance used for debugging and Troubleshooting.
Declaration
public static readonly TraceSource TraceSource
Field Value
Type | Description |
---|---|
TraceSource |
Remarks
At least one trace listener has to be added to the Listeners collection if a trace is required; if no listener is added there will no be tracing to analyse.
Examples
NatUtility.TraceSource.Switch.Level = SourceLevels.Verbose; NatUtility.TraceSource.Listeners.Add(new ConsoleListener());
Properties
| Edit this page View SourceDiscoverer
Lazy loaded singleton implementation of INatDiscoverer
Declaration
public static INatDiscoverer Discoverer { get; }
Property Value
Type | Description |
---|---|
INatDiscoverer |