com.onlineobject.objectnet Namespace

NatDiscoverer..::..DiscoverDeviceAsync Method

Overload List


  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.