License verification (Windows)
When working with licensing we recommend that you periodically verify activated licenses with our platform, to confirm that they are still active and valid.
Check License Validity
Section titled “Check License Validity”Verify a license’s activation state as follows:
if (product.Activated){ product.VerifyActivation((state, errorMessage) => { // Examine the verification state to determine the result of //the verification attempt. })}Verification Frequency
Section titled “Verification Frequency”The frequency that you verify license activation state should take into consideration:
- How often your users start or restart your app
- How likely users are to be online or offline
- The financial or technical impact of allowing users to continue to use an app in without a verified license