Dispatched in response to a GetRandomKey()()() request.


- key (String)
- a unique random key generated by the server.

Version:
SmartFoxServer Pro

The following example shows how to handle the key received from the server.
CopyC#

SFSEvent.onRandomKey += OnRandomKey; smartFox.GetRandomKey(); public void OnRandomKey(string key) { Debug.WriteLine("Random key received from server: " + key); }
