Skip to content

SSH.Channel.Disconnected

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

SSH.Channel.Disconnected

Event signature

 Event Sub Disconnected()

Remarks

This event is raised if polling the channel resulted in a disconnect condition. This may or may not be an error depending on the circumstances. Check Channel.LastError and/or Session.LastError if this occurs unexpectedly.

After receiving this event Channel.IsOpen will be False and Channel.EOF will be True, however there may still be data to read in the internal buffer.

See also

Clone this wiki locally