Skip to content

SSH.Channel.Write

Andrew Lambert edited this page Nov 26, 2022 · 5 revisions

SSH.Channel.Write

Method Signatures

 Sub Write(text As String, StreamID As Integer)
 Private Sub Write(text As String) Implements Writeable.Write

Parameters

Name Type Comment
Text String The data to write to the Channel.
StreamID Integer The stream to write to.

Remarks

Writes to the specified stream within the channel. When called on the Writeable (or SSHStream) interface StreamID=0 will be used.

A channel has at least one and possibly several (up to 232) independent streams, identified by their stream ID. For example, if the channel represents the I/O streams of a program executing on the server then stream ID 0 represents StdIn and StdOut, while ID 1 represents StdErr.

Clone this wiki locally