GetDaysOffline

Description

The GetDaysOffline method returns the number of days a system has been offline.

int GetDaysOffline()

Return

Data TypeDescription
boolthe number of days the client was offline

Remarks

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).