Supported protection scenarios
Number of granted web licenses per serial number is defined in ACEN Program settings (valid values: 1-100, default value: 1). By default, single license is granted per single serial number. Multiple licenses can be granted per single serial number.
By default, custom features stored inside serial number will be used for generation of activation code. If no feature is set in serial number, default program features will be used.
Demo mode can be combined with all protection scenarios. Application will initially work in demo mode and will not require activation until demo period is over.
By default, expiration date for each web license will be based on default validity period, fixed date limitation and day of the month limited license settings in Activation center.
When reactivating or transferring (standard model only) web license, expiration date from original web license will be used for new web license instead of default program settings. Expiration date of original web license can also be changed in Activation center by administrator user and in this case next time web license is reactivated or transferred, this new expiration date will be used for new web license.
ACEN web licensing model can be implemented in two ways:
PC Guard 06.00.0300 and later versions include out of the box support for web licensing model.
No additional programming is required on your side.
Our protection code which is embedded into protected application during protection process will automatically control all required licensing tasks.
The whole setup is also highly customizable and will cover almost all licensing scenarios.
Implement out of the box web licensing in three easy steps:
STEP 1: Set Program data and enable web licensing in Activation center (ACEN).
STEP 3: Protect application!
This requires additional programming on your side but allows maximum flexibility. ACEN includes required web service documentation and sample desktop application which implements ACEN web service handling to get you started.
The following options should be set in PC Guard's project settings:
- Enable demo mode together with date or exec limitation.
- Set "Protected application will handle expired demo option" option.
- Set "Protected application will handle license management" option to manage license removal, update or license transfer from your code.
- Set "Protected application will handle expired license" option to manage expired limited license from your code.
Activation of web licenses
Internet connection is required so that communication can be established between protected application and Activation center web service. In out of the box implementation of web licensing model all communication is managed by our protection code which is embedded into protected application during protection process.
When run, protected application will display default activation dialog and prompt for valid serial number. Unlock application radio button will be automatically selected. At this point, end user would enter valid serial number and after clicking on "Continue >>" button protection code would connect to Activation center in order to obtain license for remote computer. If serial number is valid and there are enough free license slots assigned to it (multiple licenses can be granted per single serial number) Activation center will return valid activation code to protected application and protection code will generate valid license for application on remote computer.
In out of the box implementation of web licensing model activation process can be automated with command line interface for protected application by providing valid serial number with -PCG_CL_SN option and instructing protected application to auto activate itself with -PCG_CL_AUTO_ACTIVATE option. In this case default activation dialog will not be displayed on startup at all.
Example: c:\protectedapp.exe -PCG_CL_AUTO_ACTIVATE -PCG_CL_SN 1234-1234-12-1234-1234
Post activation tasks
Out of the box implementation of ACEN web licensing includes two post activation tasks you can enable for application protected with ACEN web licensing model.
License alive (active) report task
If enabled, protected application will connect to activation center based on selected timing ("on each run", "once a day", "once a week" and "once a month") and report that license on remote computer is active and in use. If protection code is not able to connect to activation center one of the "if report fails" actions will be invoked. The following actions are currently available: "do nothing", "show error", "show error and exit", "exit", "reset license & exit" and reset license, show error & exit. Action threshold can be set for this task and it represents number of consecutive failed tasks before selected action is taken.
Please see license alive report settings for detailed information about available setting.
Check if license is removed task
ACEN administrator user can remove license from activation center or change expiration date for limited license. If this task is enabled, protected application will connect to activation center based on selected timing ("on each run", "once a day", "once a week" and "once a month") in order to check if issued license is still available in activation center.
If protection code is not able to connect to activation center one of the "if report fails" actions will be invoked. The following actions are currently available: "do nothing", "show error", "show error and exit", "exit", "reset license & exit" and reset license, show error & exit. Action threshold can be set for this task and it represents number of consecutive failed tasks before selected action is taken.
In case protection code was able to connect to activation center if license is still present and valid in ACEN nothing will happen. Protection code will just pass control to protected application. If license is removed from ACEN custom "if removed" action will be invoked. The following "if removed" actions are currently available: "reset license, show error & exit", "reset license, ban computer, show error & exit", "reset license & exit" and "reset license, ban computer & exit". Choose appropriate actions accordingly to your protection requirements.
Please see license removed check task settings for detailed information about setting up this task.