Share via


IPasswordHasher.VerifyHashedPassword Method

Verify that a password matches the hashed password

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.AspNet.Identity.PasswordVerificationResult

See Also

Reference

IPasswordHasher Interface

Microsoft.AspNet.Identity Namespace