Example #1
0
 private bool TryParseCredentialsJson(out string pubKey)
 {
     try
     {
         var creds = AppArgs.CredentialsKey.ReadJson <FirebaseCredentials>();
         pubKey = SeatLicenser.GeneratePublicKey(creds);
         return(true);
     }
     catch (Exception ex)
     {
         Alert.Show(ex);
         pubKey = "";
         return(false);
     }
 }