SHARE
TWEET

Untitled

a guest Jul 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private async Task CheckLogin()
  2.     {
  3.         try
  4.         {
  5.  
  6.             if (string.IsNullOrWhiteSpace(Username) || string.IsNullOrWhiteSpace(Password)) { return; }
  7.  
  8.             var result = await SignManager.PasswordSignInAsync(Username, Password, false, true);
  9.         }
  10.         catch (Exception ex)
  11.         {
  12.             var m = ex.Message;
  13.             var i = 0;
  14.         }
  15.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top