GetDaysOffline
Last updated
Last updated
The GetDaysOffline method returns the number of days a system has been offline.
bool
the number of days the client was offline
This method requires that MaxDaysOffline be set to a value other than -1.
Note that QLM starts recording offline days when you call QlmLicense.ValidateLicenseOnServer.
QlmLicense.ValidateLicenseOnServer is automatically called if you set the QlmValidateLicenseOnServer property to true in the QLM Management Console / Protect Your Application wizard (see screenshot below).