SshConnectionException DisconnectReason Property SSH .NET Client Library Documentation
Gets the disconnect reason if provided by the server or client. Otherwise None.

Namespace: Renci.SshNet.Common
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public DisconnectReason DisconnectReason { get; private set; }
See Also