Connection to the License Server is only required during the initial activation of the license. Once a license is activated, a computer bound license key (or license file for non-Windows apps) is stored on the end user system and used subsequently to validate the license.
If you set the QlmValidateLicenseOnServer property to true, QLM will then try to connect to the server every time the LicenseValidator.ValidateLicenseAtStartup function is called which should be every time you start your application.
If the client is not able to reach the server, the behavior can be configured by setting two other properties: QlmMaxDaysOffline and QlmOfflinePeriodExceededAction.
By default, QlmMaxDaysOffline is set to -1. This means that if a client is not able to contact the QLM License Server, we will simply resume and assume everything is Ok.
If QlmMaxDaysOffline is set to a specific value, say 5 days, a client who cannot connect for 5 days will continue to run properly until the 6th day. On the 6th day, the action specified by the QlmOfflinePeriodExceededAction property will be performed.
The 3properties mentioned above can be set programmatically or from the Protect Your Application wizard as shown in the screenshots below. Remember to regenerate the LicenseValidator class and the xml settings file after modifying these properties.