public ChannelOpenMessage ( uint channelNumber, uint initialWindowSize, uint maximumPacketSize, Renci.SshNet.Messages.Connection.ChannelOpenInfo info ) : System | ||
channelNumber | uint | The channel number. |
initialWindowSize | uint | Initial size of the window. |
maximumPacketSize | uint | Maximum size of the packet. |
info | Renci.SshNet.Messages.Connection.ChannelOpenInfo | Information specific to the type of the channel to open. |
return | System |
public ChannelOpenMessage(uint channelNumber, uint initialWindowSize, uint maximumPacketSize, ChannelOpenInfo info)
{
if (info == null)
throw new ArgumentNullException("info");
ChannelType = Ascii.GetBytes(info.ChannelType);
LocalChannelNumber = channelNumber;
InitialWindowSize = initialWindowSize;
MaximumPacketSize = maximumPacketSize;
Info = info;
_infoBytes = info.GetBytes();
}
ChannelOpenMessage::ChannelOpenMessage ( ) : System |