Click or drag to resize

SshClientAddForwardedPort Method

Adds the forwarded port.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void AddForwardedPort(
	ForwardedPort port
)

Parameters

port  ForwardedPort
The port.
Exceptions
ExceptionCondition
InvalidOperationExceptionForwarded port is already added to a different client.
ArgumentNullExceptionport is null.
InvalidOperationExceptionPort is already forwarded
SshConnectionExceptionClient is not connected.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also