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)


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

Return Value

Current connection state.


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