Click or drag to resize

SmartFoxSetClientDetails Method

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.8.0.0 (1.8.0)
Syntax
C#
public void SetClientDetails(
	string platformId,
	string version
)

Parameters

platformId
Type: SystemString
The id of the runtime platform: for example "Unity WebPlayer" or "iOS".
version
Type: SystemString
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 / .Net" and "Universal Windows Platform" labels (depending on the used DLL) are set as platform, without specifying the version.

See Also