SmartFoxServer Unity/.NET API
IsConnected Method
NamespacesSmartFoxClientAPISmartFoxClientIsConnected()()()
A boolean flag indicating if the current user is connected to the server.
Declaration Syntax
C#Visual BasicVisual C++
public bool IsConnected()
Public Function IsConnected As Boolean
public:
bool IsConnected()
Return Value

[Missing <returns> documentation for "M:SmartFoxClientAPI.SmartFoxClient.IsConnected"]

Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to check the connection status.
CopyC#
Trace.WriteLine("My connection status: " + (smartFox.IsConnected() ? "connected" : "not connected"));
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)