Méthode | 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.
|
Méthode | Description | |
---|---|---|
RegisterMapping ( Open.Nat.Mapping mapping ) : void | ||
UnregisterMapping ( Open.Nat.Mapping mapping ) : void |
Méthode | 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 |
Résultat | System.Threading.Tasks.Task |
public abstract DeletePortMapAsync ( Open.Nat.Mapping mapping ) : System.Threading.Tasks.Task | ||
mapping | Open.Nat.Mapping | The |
Résultat | System.Threading.Tasks.Task |
public abstract GetAllMappingsAsync ( ) : Task |
||
Résultat | Task |
public abstract GetExternalIPAsync ( ) : Task |
||
Résultat | Task |
public abstract GetSpecificMappingAsync ( Protocol protocol, int port ) : Task |
||
protocol | Protocol | The protocol. |
port | int | The port. |
Résultat | Task |
protected RegisterMapping ( Open.Nat.Mapping mapping ) : void | ||
mapping | Open.Nat.Mapping | |
Résultat | void |
protected UnregisterMapping ( Open.Nat.Mapping mapping ) : void | ||
mapping | Open.Nat.Mapping | |
Résultat | void |