acen web licensing settings

ACEN Web licensing enabled

Select to enable web licensing in PC Guard. Protected application will automatically handle all web licensing tasks in conjunction with Activation center (ACEN) server.

ACEN Program ID option

Program ID value as defined in Activation center (ACEN). (mandatory)

NOTE: This is not the same as Program ID value in remote protection settings! This is unique identification number for program in Activation center (ACEN).

Click on Validate button to check if there is a program with such ID and with web licensing enabled in activation center. This feature requires valid ACEN server settings.

Make license alive (active) report to ACEN server

Select to enable license alive report to ACEN server post activation task.

web licensings alive report diagram

Timing

Use this option to select timing for license alive report.

Timing Description
on each run run task on each run
once a day run task once a day
once a week run task every 7 days from first run
once a month run task every 30 days from first run

If report fails

Use this option to select action in case alive report fails. This usually happens because computer is not connected to the Internet.

Action Description
do nothing no action, pass control to application.
show error show error message and pass control to application.
show error and exit show error message and close application.
exit close application.
reset license & exit reset local license and close application.
reset license, show error & exit reset local license, show error message and close application.

Threshold

Action threshold represents number of consecutive failed tasks before selected action is taken.

Valid values for threshold are 0-99 where 0 means no threshold (default).

Failed tasks counter will be reset to zero after each successful task.

If "If report fails" option is set to "do nothing" action threshold option is ignored.

Exit code

Custom exit code in case action includes closing of protected application and returning of exit code. If left to default value (0) protected application will return status 
code returned by ACEN
.

Check if license is removed from ACEN server

Select to enable check if license is removed from ACEN server post activation task.

we licensing license removed check diagram

Timing

Timing Description
on each run run task on each run
once a day run task once a day
once a week run task every 7 days from first run
once a month run task every 30 days from first run

If check fails

Use this option to select action in case check if license is removed fails. This usually happens because computer is not connected to the Internet.

Action Description
do nothing no action, pass control to application.
show error show error message and pass control to application.
show error and exit show error message and close application.
exit close application.
reset license & exit reset local license and close application.
reset license, show error & exit reset local license, show error message and close application.

Threshold

Action threshold represents number of consecutive failed tasks before selected action is taken.

Valid values for threshold are 0-99 where 0 means no threshold (default).

Failed tasks counter will be reset to zero after each successful task.

If "If check fails" option is set to "do nothing" action threshold option is ignored.

Example: if action threshold is set to 7, protection code will take appropriate action only after 7 consecutive failed attempts to connect to ACEN server. This means that in case timing option is set to "once a day" selected action will be taken on 7th day of consecutive failed attempts.

Exit code

Custom exit code in case action includes closing of protected application and returning of exit code. If left to default value (0) protected application will return status 
code returned by ACEN
.

If removed

Select action in case license is removed from ACEN.

Timing Description
reset license, show error & exit reset existing license, show error and close application.
reset license, ban computer, show error & exit reset existing license, ban computer, show error and close application.
reset license & exit reset existing license and close application.
reset license, ban computer & exit reset existing license, ban computer and close application.

If license is reset, next time protected application is run protection code will automatically try to get new license from activation center.

If remote computer is banned, next time protected application is run it will display AWS_BannedError ("License can not be activated on this computer!"). Ban is set locally and not in activation center so in case end user formats computer and reinstall software, protected application will still try to get new activation code from activation center.

NOTES:

- Activation center web service url is mandatory option for web licensing feature. Please be sure to set this option before enabling and setting web licensing options.

- If using both "Make license alive (active) report to ACEN server" option and "Check if license is removed from ACEN server" option with action which includes "show error" and if both checks fail, two (usually same) error messages will be displayed to end user so it is recommended to enable only single action which includes "show error" in this case.

- License alive report task is run first, check for removed license task is run second.

- Protected application thread mode will be automatically set to multi-threaded by protection code. This means that you should avoid initializing threading mode (CoInitializeEx) in your application! If you do this, you will application will generate 0x80010106 error (RPC_E_CHANGED_MODE) and usually display "The threading model can not be changed after initialization" error message.