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

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

Syntax

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

Return Value

Connection state.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also