Gets a value that indicates whether the ShellChannel is currently connected to a remote host.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public MustOverride Function GetConnectionState As ShellChannelState
C#
public abstract ShellChannelState GetConnectionState()

Return Value

Current connection state.

Remarks

As long as there is still data available to be read from the socket, this method will indicate that the ShellChannel is connected, even though technically it might have already be considered disconnected based on one's point of view.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also