Dispatched in return to the initialization of an encrypted connection.

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

Syntax

C#
public static readonly string CRYPTO_INIT

Field Value

Type: String

Remarks

This event is fired in response to a call to the SmartFox.InitCrypto() method.

The Params object contains the following parameters:

ParameterDescription
success(bool) true if a unique encryption key was successfully retrieved via HTTPS, false if the transaction failed.
errorMessage(string) If success is false, provides additional details on the occurred error.

Examples

See the InitCrypto()()()() example.

See Also