com.onlineobject.objectnet Namespace

NatDevice..::..CreatePortMapAsync Method

Creates the port map asynchronous.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public Task CreatePortMapAsync(

	Mapping mapping

)

Parameters

mapping
Type: com.onlineobject.objectnet..::..Mapping
The Mapping entry.

Exceptions


ExceptionCondition
com.onlineobject.objectnet..::..MappingExceptionMappingException

Examples


device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 1700, 1600));