Skip to main content
Version: 5.7.0

GenerateAnonymousId

Generates a GUID for use as an anonymous installation ID for brainCloud. Normally only called once when the application starts for the first time.

The generated ID is used in conjunction with InitializeIdentity in the BrainCloudClient.

Usage

http://localhost:3000
string anonId = _bc.AuthenticationService.GenerateAnonymousId();