> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/api-reference/.net-api/qlmlicense/properties/maxdaysoffline.md).

# MaxDaysOffline

Set or get the number of days the app can work offline. ValidateOnServer must be true for this setting to take effect.

If MaxDaysOffline is -1, the application can work offline indefinitely.

If MaxDaysOffline is 0, the application must be online all the time.

When the MaxDaysOffline threshold is reached, the action defined in OfflinePeriodExceededAction is executed.
