PasswordHasher.VerifyHashedPassword Method

Verify that a password matches the hashedPassword

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Overridable Function VerifyHashedPassword ( _
    hashedPassword As String, _
    providedPassword As String _
) As PasswordVerificationResult
'Usage
Dim instance As PasswordHasher 
Dim hashedPassword As String 
Dim providedPassword As String 
Dim returnValue As PasswordVerificationResult 

returnValue = instance.VerifyHashedPassword(hashedPassword, _
    providedPassword)
public virtual PasswordVerificationResult VerifyHashedPassword(
    string hashedPassword,
    string providedPassword
)
public:
virtual PasswordVerificationResult VerifyHashedPassword(
    String^ hashedPassword, 
    String^ providedPassword
)
abstract VerifyHashedPassword : 
        hashedPassword:string * 
        providedPassword:string -> PasswordVerificationResult  
override VerifyHashedPassword : 
        hashedPassword:string * 
        providedPassword:string -> PasswordVerificationResult
public function VerifyHashedPassword(
    hashedPassword : String, 
    providedPassword : String
) : PasswordVerificationResult

Parameters

Return Value

Type: Microsoft.AspNet.Identity.PasswordVerificationResult

Implements

IPasswordHasher.VerifyHashedPassword(String, String)

See Also

Reference

PasswordHasher Class

Microsoft.AspNet.Identity Namespace