ValidateEncryptedPassword Method (ClarifyApplication)
Password to validate against the hashed password.
Hashed password to validate against.
True if the Clarify instance is less than version 9.
Syntax
'Declaration
Public Shared Function ValidateEncryptedPassword( _
ByVal _password_ As String, _
ByVal _passHash_ As String, _
ByVal _pre9_ As Boolean _
) As Boolean
public static bool ValidateEncryptedPassword(
string _password_,
string _passHash_,
bool _pre9_
)
Parameters
password
Password to validate against the hashed password.
passHash
Hashed password to validate against.
pre9
True if the Clarify instance is less than version 9.
Return Value
True if the password validates.
Remarks
This method reproduces Clarify style authentication. Normally you would pull the hashed password out of a database and compare it against the password entered by the user.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family