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

TlsClientSocket.Connected Property

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

Connected

Gets a value indicating whether a TlsSocket is connected to a remote resource. Inherited from TlsSocket.

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

true if the TlsSocket is connected to a remote resource; otherwise, false.

Implements
ISocket.Connected
Remarks

Gets the connection state of the TlsSocket. This property will return the latest known state of the SecureSocket. When it returns false, the socket was either never connected, or no longer connected.

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

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