SecurityServices for .NET 2.0 Documentation

LengthValidatorConstructor(Int32, Boolean)

[This is preliminary documentation and subject to change.]

Initializes a new CharacterValidator instance.

publicLengthValidator(
Int32required,
BooleanallowMore
);

Parameters

Int32
Defines the length that the password should have.
Boolean
true if more than the specified number of characters are allowed, false otherwise.

Exceptions

Exception Type Condition
ArgumentException required has an invalid value.

See Also

LengthValidator Class | Org.Mentalis.SecurityServices.Authentication Namespace | LengthValidator Constructor Overload List