Discuss this help topic in SecureBlackbox Forum

TElSSHClass.Close

TElSSHClass     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This method closes the SSH connection

Declaration

[C#/Java]
    void Close(bool Forced);

[VB.NET]
    Sub Close(ByVal Forced As Boolean)

[Pascal]
    procedure Close(Forced: boolean = false);

[C++]
    void Close(bool Forced);

[PHP]
    void Close(bool $Forced)

Parameters

  • Forced - if this parameter value is False the server will close connection gracefully and send notification to the client.If True - the connection will be just closed without any notitfications.
    Default value is False
  • ErrorCode -
  • Reason -

Description

    Call this method to close the SSH connection. All active tunnels will also be closed. After calling this method no more data should be sent through tunnels.

See also:     TElSSHClient.Open     TElSSHServer.Open    

Discuss this help topic in SecureBlackbox Forum