A boolean flag indicating if the current user is connected to the server.


The connected true/false value.

Version:
SmartFoxServer Basic / Pro

The following example shows how to check the connection status.
CopyC#

Debug.WriteLine("My connection status: " + (smartFox.IsConnected() ? "connected" : "not connected"));