SmartFoxIsConnected Property |
Indicates whether the client is connected to the server or not.
Namespace:
Sfs2X
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public bool IsConnected { get; }
Property Value
Type:
BooleanExamples
The following example checks the connection status:
Console.WriteLine("Am I connected? " + sfs.IsConnected);
System.Diagnostics.Debug.WriteLine("Am I connected? " + sfs.IsConnected);
See Also