Click or drag to resize

CrestronEthernetHelperRemovePortForwarding(UInt16, UInt16, String, CrestronEthernetHelperePortMapTransport) Method

Remove port forwarding

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static CrestronEthernetHelperPortForwardingUserPatRetCodes RemovePortForwarding(
	ushort ExternalPort,
	ushort InternalPort,
	string IPAddress,
	CrestronEthernetHelperePortMapTransport paramProtocol
)

Parameters

ExternalPort  UInt16
Port number on the LAN side
InternalPort  UInt16
Port number on the control sub-net side
IPAddress  String
IP address (in dot decimal notation) of the device on the LAN side of Router
paramProtocol  CrestronEthernetHelperePortMapTransport
IP protocol for the portmap service (TCP | UDP)

Return Value

CrestronEthernetHelperPortForwardingUserPatRetCodes
Returns PortForwardingUserPatRetCodes.NoErr if successful

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also