adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / PasswordHash Class / ValidatePassword Method
The password to check.
A hash of the correct password.

In This Topic
    ValidatePassword Method
    In This Topic
    Validates a password given a hash of the correct one.
    Syntax
    'Declaration
     
    
    Public Shared Function ValidatePassword( _
       ByVal password As String, _
       ByVal goodHash As String _
    ) As Boolean
    public static bool ValidatePassword( 
       string password,
       string goodHash
    )

    Parameters

    password
    The password to check.
    goodHash
    A hash of the correct password.

    Return Value

    True if the password is correct. False otherwise.
    See Also