<PackageReference Include="SSH.NET" Version="2016.1.0" />

DirectTcpipChannelInfo

Used to open "direct-tcpip" channel type
public const string NAME = "direct-tcpip"

Specifies channel open type

public string HostToConnect { get; }

Gets the host to connect.

public string OriginatorAddress { get; }

Gets the originator address.

public uint OriginatorPort { get; }

Gets the originator port.

public uint PortToConnect { get; }

Gets the port to connect.

public DirectTcpipChannelInfo(byte[] data)

Initializes a new instance of the DirectTcpipChannelInfo class from the specified data.

public DirectTcpipChannelInfo(string hostToConnect, uint portToConnect, string originatorAddress, uint originatorPort)

Initializes a new instance of the DirectTcpipChannelInfo class.