Esempio 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;
        }