Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.ServerCloseReason

TElSSHCustomForwarding     


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


This property returns the description that was sent by the server before closing the connection

Declaration

[C#]
    string ServerCloseReason;

[VB.NET]
    Property ServerCloseReason As String

[Pascal]
    property ServerCloseReason : string;

[C++]
    void get_ServerCloseReason(std::string &OutResult);

[PHP]
    string get_ServerCloseReason()

[Java]
    String getServerCloseReason();

Description

    Check this property after the connection with SSH server was closed. This property returns the line that was sent by the server just before closing the connection. Usually it contains the error description if the connection was broken by the error. This property returns the empty string if the server response was empty.

Discuss this help topic in SecureBlackbox Forum