Skip to content

SSH.Session.Close

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

SSH.Session.Close

Method Signature

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

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.
Language String Optional. The language code of the Description.

Remarks

Ends the SSH session and closes the socket.

Clone this wiki locally