Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ShellChannel.GetConnectionState Method

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9147)

GetConnectionState()

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

Declaration
public abstract ShellChannelState GetConnectionState()
Returns
Type Description
ShellChannelState

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.

In This Article
  • GetConnectionState()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies