Dispatched when the external SmartFoxClient configuration file has been loaded successfully.
This event is dispatched only if the autoConnect parameter of the LoadConfig(String, Boolean) method is set to true otherwise the connection is made and the SFSEvent..::.OnConnectionDelegate event fired.
This event is dispatched only if the autoConnect parameter of the LoadConfig(String, Boolean) method is set to true otherwise the connection is made and the SFSEvent..::.OnConnectionDelegate event fired.

C# | Visual Basic | Visual C++ |
public delegate void OnConfigLoadSuccessDelegate()
Public Delegate Sub OnConfigLoadSuccessDelegate
public delegate void OnConfigLoadSuccessDelegate()

Since:
SmartFoxServer Pro v1.6.0
Version:
SmartFoxServer Pro

The following example shows how to handle a successful configuration loading.
CopyC#

SFSEvent.onConfigLoadSuccess += OnConfigLoadSuccess; smartFox.LoadConfig("testEnvironmentConfig.xml", false); public void OnConfigLoadSuccess() { Debug.WriteLine("Config file loaded, now connecting..."); smartFox.Connect(smartFox.ipAddress, smartFox.port); }