PasswordValidator.RequireDigit Property


Gets or sets whether the password requires a numeric digit ('0' - '9').

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)


public bool RequireDigit { get; set; }
property bool RequireDigit {
    bool get();
    void set(bool value);
member RequireDigit : bool with get, set
Public Property RequireDigit As Boolean

Property Value

Type: System.Boolean

true if the password requires a numeric digit; otherwise, false.

See Also

PasswordValidator Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top