A boolean flag indicating if the current user is connected to the server.
[Missing <returns> documentation for "M:SmartFoxClientAPI.SmartFoxClient.IsConnected"]
Version:
SmartFoxServer Basic / Pro
The following example shows how to check the connection status.
CopyC#
Trace.WriteLine("My connection status: " + (smartFox.IsConnected() ? "connected" : "not connected"));