Channels Property

A collection of currently open channels.

Syntax

public SSHRTChannelMap Channels { get; }
Public ReadOnly Property Channels As SSHRTChannelMap

Remarks

This property is a collection of established channels. When a client connects to an existing reverse tunnel a new channel is requested and added to this collection. 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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 .NET Edition - Version 20.0 [Build 8501]