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

SshSession.IsConnected Property

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

IsConnected

Gets a value indicating whether the session is connected.

Declaration
public override bool IsConnected { get; }
Property Value
Type Description
Boolean

True if connected; false otherwise.

Overrides
NetworkSession.IsConnected
Remarks

This property returns the latest known state of the session. When it returns false, the session was either never connected, or no longer connected. When it returns true, the session was connected at the time of the last I/O operation.

Note: There is no guarantee that the session is still connected even though IsConnected returns true.

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