CrestronEthernetHelperModifyPortMap Method |
Add or Remote a port map for this control system's router. Please wait for the router to be present before using this function.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool ModifyPortMap(
bool paramAddRemove,
uint paramPort,
CrestronEthernetHelperePortMapTransport paramProtocol
)
Parameters
- paramAddRemove Boolean
- 'true' Add the following port map, 'false' remove the following map.
- paramPort UInt32
- Port to add or remove based on the value of 'paramAddRemove'.
- paramProtocol CrestronEthernetHelperePortMapTransport
- Network protocol this port maps to.
Return Value
Boolean'true' the port map was successfully modified, 'false' there was an error making the modification.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also