SecurityServices for .NET 2.0 Documentation

PasswordValidator.PasswordStrength Method (SecureString)

[This is preliminary documentation and subject to change.]

Gives an indication of how strong the password is.

public double PasswordStrength(
   SecureString password
);

Parameters

SecureString
The password to test.

Return Value

A double precision floating point number betzeen 0.0 and 1.0 that gives an indication of how strong the password is, considering the validation requirements. A value of 1.0 corresponds with a validated password.

See Also

PasswordValidator Class | Org.Mentalis.SecurityServices.Authentication Namespace | PasswordValidator.PasswordStrength Overload List