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

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