コード例 #1
0
 public PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword)
 {
     pbkdf2 = new PBKDF2(providedPassword, hashedPassword);
     if (pbkdf2.VerifyHashedPassword())
     {
         return(PasswordVerificationResult.Success);
     }
     else
     {
         return(PasswordVerificationResult.Failed);
     }
 }