Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XafApplication.MaxLogonAttemptCount Property

Specifies the allowed number of failed login attempts before the application closes.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

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

#Property Value

Type Default Description
Int32 3

An integer value that specifies the allowed number of failed login attempts before the application closes.

#Remarks

The application closes automatically is the failed logins count exceeds the MaxLogonAttemptCount. The default value is 3. You can modify this value either in code or via the Application Designer.

See Also