SmartFox Constructor (Boolean) |
Creates a new SmartFox instance.
Namespace:
Sfs2X
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public SmartFox(
bool debug
)
Parameters
- debug
- Type: SystemBoolean
If true, the SmartFoxServer API debug messages are logged.
Examples
The following example instantiates the
SmartFox class enabling the debug messages:
SmartFox sfs = new SmartFox(true);
See Also