Skip to main content

XafApplication.MaxLogonAttemptCount Property

Specifies the number of failed login attempts before the application closes. (WinForms only)

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(3)]
public int MaxLogonAttemptCount { get; set; }

Property Value

Type Default Description
Int32 3

The allowed number of failed login attempts.

Remarks

To limit the maximum login attempt count in both ASP.NET Core Blazor and Windows Forms XAF applications, use LockoutOptions.

The MaxLogonAttemptCount property takes effect when the LockoutOptions.Enabled property is set to false.

See Also