Exemplo n.º 1
0
        private void GetAnonymousClientId()
        {
            var id = device.ReadFile(AnonymousIdFileName);

            if (string.IsNullOrEmpty(id))
            {
                id = Guid.NewGuid().ToString("D");
                device.WriteFile(AnonymousIdFileName, id);
                IsInstall = true;
            }

            AnonymousClientId = id;
        }