Guest User

Untitled

a guest
Jul 18th, 2019
66
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