To make an individual (not automatic) online check, use the command activateModule from time to time. If the license is locked, you get an error 3018.This command just checks, if a license is locked or not. The check is logged on the Activation Server 4.

 

If the product is already activated,

 

Retrieve the main module ID using getMainModuleID
Retrieve the Serial Number using getSerial
Perform the online check with activateModule (specifying the main module number and using the Serial Number as ID)

 

 

This could be used e.g. within an update to make a one time online connection to validate, if the key / ID was locked.

 

See also Source Code Integration for regular online checks to get a detail overview about different options.

See also
Lock a license on the Activation Server