Checks whether the SSH session is still connected and returns its state.

Namespace:  Rebex.Net
Assembly:  Rebex.SshShell (in Rebex.SshShell.dll)

Syntax

Visual Basic
Public Function GetConnectionState As SshConnectionState
C#
public SshConnectionState GetConnectionState()

Return Value

Connection state.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also