Gets a value indicating whether the session is connected.

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

Syntax

Visual Basic
ReadOnly Property IsConnected As Boolean
	Get
C#
bool IsConnected { get; }

Field Value

True if connected; false otherwise.

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also