Channels Property
A collection of currently open channels.
Syntax
[VB.NET] Public ReadOnlyProperty Channels As SSHChannelMap
[C#] public SSHChannelMap Channels {get;}
Remarks
The SSH 2.0 specification allows for multiple channels to be opened over a single TCP/IP connection. The Channels property represents the channels that are currently open. A new SSHChannel can be opened with OpenChannel.
This collection is a hashtable where the channel's Id string is used as the key to the desired SSH channel object.
Example (Sending Data to a Channel)
channels["1"].DataToSend = "channel specific data";
This property is read-only.