Channel
Represents base class for SSH channel implementations.
Gets the type of the channel.
Gets the connection info.
Gets a value indicating whether the session is connected.
Gets a value indicating whether this channel is open.
Gets the local channel number.
Gets the maximum size of a packet.
Gets the size of the local window.
Gets the remote channel number.
Gets the maximum size of a data packet that we can send using the channel.
Gets the window size of the remote server.
Gets the session.
Gets the session semaphore to control number of session channels
Occurs when ChannelCloseMessage message received
Occurs when ChannelDataMessage message received
Occurs when ChannelEofMessage message received
Occurs when ChannelExtendedDataMessage message received
Occurs when ChannelFailureMessage message received
Occurs when ChannelRequestMessage message received
Occurs when ChannelSuccessMessage message received
protected Channel()
Closes the channel.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources
protected void InitializeRemoteInfo(uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize)
Called when channel is closed by the server.
Called when channel data is received.
Called when channel has no more data to receive.
Called when channel extended data is received.
Called when channel request failed.
Called when channel request received.
Called when channel request was successful
Called when channel window need to be adjust.
Sends SSH message to the server.
Sends channel data message to the servers.
Sends channel extended data message to the servers.
Waits for the handle to be signaled or for an error to occurs.