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

ChannelOpenMessage

public class ChannelOpenMessage : Message
Represents SSH_MSG_CHANNEL_OPEN message.
public byte[] ChannelType { get; }

Gets the type of the channel as ASCII encoded byte array.

public ChannelOpenInfo Info { get; }

Gets channel specific open information.

public uint InitialWindowSize { get; }

Gets the initial size of the window.

public uint LocalChannelNumber { get; protected set; }

Gets or sets the local channel number.

public uint MaximumPacketSize { get; }

Gets the maximum size of the packet.

Initializes a new instance of the ChannelOpenMessage class.

public ChannelOpenMessage(uint channelNumber, uint initialWindowSize, uint maximumPacketSize, ChannelOpenInfo info)

Initializes a new instance of the ChannelOpenMessage class.