Example #1
0
        public static void SetUuid(string uuid)
        {
            if (uuid == null)
            {
                return;
            }
            bool flag = false;

            lock (Critical.UuidChangesLock)
            {
                if (Critical.Data.Uuid == null)
                {
                    flag = true;
                    Critical.Data.Uuid = uuid;
                }
            }
            if (!flag)
            {
                return;
            }
            Critical.Submit();
        }
Example #2
0
 public static void SetDeviceId(string deviceId)
 {
     Critical.Data.DeviceId = deviceId;
     Critical.Submit();
 }