PasswordHash.ValidatePassword Method

Tungsten Suite

PasswordHashValidatePassword Method

Validates a password given a hash of the correct one.

Namespace:  W.Encryption
Assembly:  Tungsten.Encryption (in Tungsten.Encryption.dll) Version: 2.0.2
Syntax
C#
public static bool ValidatePassword(
	string password,
	string correctHash
)

Parameters

password
Type: SystemString
The password to check.
correctHash
Type: SystemString
A hash of the correct password.

Return Value

Type: Boolean
True if the password is correct. False otherwise.
See Also