Allows to set custom client details used to gather statistics about the client platform in the SFS2X Analytics Module.

Namespace: Sfs2X
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public void SetClientDetails(
	string platformId,
	string version
)

Parameters

platformId
Type: System..::..String
The id of the runtime platform: for example "Unity WebPlayer" or "iOS".
version
Type: System..::..String
An optional version of the runtime platform: for example "2.0.0".

Remarks

This method must be called before the connection is started.
The length of the two strings combined must be < 512 characters.

By default the generic "Unity" and "Windows Universal" labels (depending on the used DLL) are set as platform, without specifying the version.

See Also