Class PasswordPolicy
Password policy settings.
public class PasswordPolicy
- Inheritance
-
PasswordPolicy
- Derived
- Inherited Members
Constructors
PasswordPolicy()
Initializes a new instance of the PasswordPolicy class. Default constructor.
public PasswordPolicy()
Properties
IsLowerCaseRequired
Gets or sets a value indicating whether true if a lower case character is required.
public bool IsLowerCaseRequired { get; set; }
Property Value
IsNonAlphanumericRequired
Gets or sets a value indicating whether true if a non-alphanumeric character is required.
public bool IsNonAlphanumericRequired { get; set; }
Property Value
IsNumericRequired
Gets or sets a value indicating whether true if a numeric character is required.
public bool IsNumericRequired { get; set; }
Property Value
IsUpperCaseRequired
Gets or sets a value indicating whether true if an upper case character is required.
public bool IsUpperCaseRequired { get; set; }
Property Value
MinimumLength
Gets or sets the minimum password length.
public int MinimumLength { get; set; }
Property Value
- int
The value.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
Equals(object?)
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
public override int GetHashCode()