Beispiel #1
0
        async Task <bool> CheckRegisteration()
        {
            settings = _settingsService.Get();
            await Task.Delay(2000);

            if (Cryptor.Decrypt(settings.Serial) == Finger.Value)
            {
                return(true);
            }
            return(false);
        }
Beispiel #2
0
 public static bool IsValidSerial(string serial)
 {
     return(Finger.Value == Cryptor.Decrypt(serial));
 }