com.onlineobject.objectnet Namespace

NatDiscoverer Members

The NatDiscoverer type exposes the following members.

Methods


  Name Description
Public method DiscoverDeviceAsync()()()()
Discovers and returns an UPnp or Pmp NAT device; otherwise a NatDeviceNotFoundException exception is thrown after 3 seconds.
Public method DiscoverDeviceAsync(PortMapper, CancellationTokenSource)
Discovers and returns a NAT device for the specified type; otherwise a NatDeviceNotFoundException exception is thrown when it is cancelled.
Public method DiscoverDevicesAsync
Discovers and returns all NAT devices for the specified type. If no NAT device is found it returns an empty enumerable
Public method Static member ReleaseAll
Release all ports opened by Open.NAT.

Fields


  Name Description
Public field Static member TraceSource