SmartFoxServer Silverlight 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
The connected true/false value.
Remarks

Version:
SmartFoxServer Basic / Pro

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

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)