Renci.SshNet.Messages.Connection.DirectTcpipChannelInfo
Used to open "direct-tcpip" channel type.
namespace Renci.SshNet
{
public class HashInfo
{
public int KeySize { get; }
public bool IsEncryptThenMAC { get; }
public Func<byte[], HashAlgorithm> HashAlgorithm { get; }
public HashInfo(int keySize, Func<byte[], HashAlgorithm> hash, bool isEncryptThenMAC = false);
}
}
namespace Renci.SshNet.Messages.Connection
{
internal sealed class DirectTcpipChannelInfo : ChannelOpenInfo
{
public const string NAME = "direct-tcpip";
public string HostToConnect { get; }
public uint PortToConnect { get; }
public string OriginatorAddress { get; }
public uint OriginatorPort { get; }
public DirectTcpipChannelInfo(byte[] data);
public DirectTcpipChannelInfo(string hostToConnect, uint portToConnect, string originatorAddress, uint originatorPort);
}
}