Method | Description | |
---|---|---|
CreatePortMapAsync ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task |
Creates the port map asynchronous.
|
|
DeletePortMapAsync ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task |
Deletes a mapped port asynchronous.
|
|
GetAllMappingsAsync ( ) : Task |
Gets all mappings asynchronous.
|
|
GetExternalIPAsync ( ) : Task |
Gets the external (visible) IP address asynchronous. This is the NAT device IP address
|
|
GetSpecificMappingAsync ( Protocol protocol, int port ) : Task |
Gets the specified mapping asynchronous.
|
Method | Description | |
---|---|---|
RegisterMapping ( Open.Nat.Mapping mapping ) : void | ||
UnregisterMapping ( Open.Nat.Mapping mapping ) : void |
Method | Description | |
---|---|---|
ReleaseAll ( ) : void | ||
ReleaseMapping ( IEnumerable |
||
ReleaseSessionMappings ( ) : void | ||
RenewMapping ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task | ||
RenewMappings ( ) : System.Threading.Tasks.Task | ||
Touch ( ) : void |
public abstract CreatePortMapAsync ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task | ||
mapping | Open.Nat.Mapping | The |
return | System.Threading.Tasks.Task |
public abstract DeletePortMapAsync ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task | ||
mapping | Open.Nat.Mapping | The |
return | System.Threading.Tasks.Task |
public abstract GetAllMappingsAsync ( ) : Task |
||
return | Task |
public abstract GetExternalIPAsync ( ) : Task |
||
return | Task |
public abstract GetSpecificMappingAsync ( Protocol protocol, int port ) : Task |
||
protocol | Protocol | The protocol. |
port | int | The port. |
return | Task |
protected RegisterMapping ( Open.Nat.Mapping mapping ) : void | ||
mapping | Open.Nat.Mapping | |
return | void |
protected UnregisterMapping ( Open.Nat.Mapping mapping ) : void | ||
mapping | Open.Nat.Mapping | |
return | void |