SecurityServices for .NET 2.0 Documentation

LengthValidator Constructor (Int32, Boolean)

[This is preliminary documentation and subject to change.]

Initializes a new CharacterValidator instance.

public LengthValidator(
   Int32 required,
   Boolean allowMore
);

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