SmartFoxServer Silverlight API
LoadConfig Method
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► LoadConfig()()()
Members

Icon | Member | Description
--- | --- | ---
| LoadConfig()()() | LoadConfig(String, Boolean)
| LoadConfig(String) | LoadConfig(String, Boolean)
| LoadConfig(String, Boolean) | Load a client configuration file. The SmartFoxClient instance can be configured through an external xml configuration file loaded at run-time. By default, the LoadConfig method loads a file named "config.xml", placed in the same folder of the application file. If the autoConnect parameter is set to true, on loading completion the Connect(String, Int32) method is automatically called by the API, otherwise the SFSEvent..::.OnConfigLoadSuccessDelegate event is dispatched. In case of loading error, the SFSEvent..::.OnConfigLoadFailureDelegate event id fired.

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