IUniversalPlugAndPlayManagerProviderAddMapping Method |
Adds a new port mapping via the UPnP COM component.
Namespace: VirtualRadar.Interface.WebServerAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void AddMapping(
int externalPort,
string protocol,
int internalPort,
string internalClient,
bool startEnabled,
string description
)
Sub AddMapping (
externalPort As Integer,
protocol As String,
internalPort As Integer,
internalClient As String,
startEnabled As Boolean,
description As String
)
void AddMapping(
int externalPort,
String^ protocol,
int internalPort,
String^ internalClient,
bool startEnabled,
String^ description
)
abstract AddMapping :
externalPort : int *
protocol : string *
internalPort : int *
internalClient : string *
startEnabled : bool *
description : string -> unit
Parameters
- externalPort
- Type: SystemInt32
- protocol
- Type: SystemString
- internalPort
- Type: SystemInt32
- internalClient
- Type: SystemString
- startEnabled
- Type: SystemBoolean
- description
- Type: SystemString
See Also