Skip to content

SSH.Session.Close

Andrew Lambert edited this page Jul 26, 2018 · 4 revisions

SSH.Session.Close

Method Signature

 Sub Close(Description As String = "The session has ended.", Reason As SSH.DisconnectReason = SSH.DisconnectReason.AppRequested)

Parameters

Name Type Comment
Description String Optional. A human-readable description for why the session is being closed.
Reason DisconnectReason Optional. The reason for ending the session.

Remarks

Ends the SSH session and closes the socket.

Clone this wiki locally