Beispiel #1
0
 private static async void VerifyEmail()
 {
     try
     {
         await MtUserHelper.EmailVerification("*****@*****.**", _settings.MTAuthorizationAddress);
     }
     catch (Exception ex)
     {
         LogError("MtUserHelper.EmailVerification", ex);
     }
 }
Beispiel #2
0
        private static async void RegisterUser()
        {
            Console.Write("Email: ");
            var email = Console.ReadLine();

            try
            {
                await MtUserHelper.EmailVerification(email, _settings.MTAuthorizationAddress);
            }
            catch (Exception ex)
            {
                LogError("MtUserHelper.EmailVerification", ex);
                return;
            }

            Console.Write("Password: ");
            var pass = Console.ReadLine();

            await MtUserHelper.Registration(email, pass, _settings.MTAuthorizationAddress);
        }