Checks if the crypted password matches the given password string.
Namespace: CryptSharpAssembly: CryptSharp (in CryptSharp.dll) Version: 2.0.0.0
public static bool CheckPassword(
string password,
string cryptedPassword
)
Public Shared Function CheckPassword ( _
password As String, _
cryptedPassword As String _
) As Boolean
Public Shared Function CheckPassword ( _
password As String, _
cryptedPassword As String _
) As Boolean
public:
static bool CheckPassword(
String^ password,
String^ cryptedPassword
)
static member CheckPassword :
password : string *
cryptedPassword : string -> bool
static member CheckPassword :
password : string *
cryptedPassword : string -> bool
Parameters
- password
- Type: System String
The password string to test. Characters are UTF-8 encoded.
- cryptedPassword
- Type: System String
The crypted password.
Return Value
true if the passwords match.