Creates a new SmartFox instance.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public SmartFox(
	bool debug
)

Parameters

debug
Type: System..::..Boolean
If true, the SmartFoxServer API debug messages are logged.

Examples

The following example instantiates the SmartFox class enabling the debug messages:
 Copy imageCopy
SmartFox sfs = new SmartFox(true);

See Also