public VerifyKeys ( string hashedKey, string providedKey ) : bool | ||
hashedKey | string | |
providedKey | string | |
리턴 | bool |
public static bool UserKeyValid(this ApplicationUser user, string key) { var userKeyService = new UserKeyService(); return userKeyService.VerifyKeys(user.UserKeyHash, key.Trim()); }