SmartFoxServer Unity/.NET API
Disconnect Method
NamespacesSmartFoxClientAPISmartFoxClientDisconnect()()()
Close the current connection to SmartFoxServer.
Declaration Syntax
C#Visual BasicVisual C++
public void Disconnect()
Public Sub Disconnect
public:
void Disconnect()
Remarks

Sends:
SFSEvent..::.OnConnectionLostDelegate

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to disconnect from SmartFoxServer.
CopyC#
smartFox.Disconnect();
See Also

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