Image
PC Guard: 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.

Timing

Use this option to select timing for license alive report.

Available values: "on each run", "once a day", "once a week" and "once a month".

"Once a week" means that appropriate action will be done every 7 days and "once a month" every 30 days starting 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).

Available values: "do nothing", "show error" and "show error and exit"

"do nothing" - protection will just pass control to application.

"show error" - protection code will show error message and pass control to application.

"show error and exit" - protection code will show error message and close application.

Action 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" threshold value is ignored (action threshold option will be disabled). Threshold value is valid for "show error" and "show error and exit" actions only.

Check if license is removed from ACEN server

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

Timing

Use this option to select timing for check if license is removed.

Available values: "on each run", "once a day", "once a week" and "once a month".

"Once a week" means that appropriate action will be done every 7 days and "once a month" every 30 days starting 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).

Available values: "do nothing", "show error" and "show error and exit"

"do nothing" - protection will just pass control to application.

"show error" - protection code will show error message and pass control to application.

"show error and exit" - protection code will show error message and close application.

Action 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" threshold value is ignored (action threshold option will be disabled). Threshold value is valid for "show error" and "show error and exit" actions only.

Example: if action threshold for "If report fails" option is set to 7, protection code will display error message or display error message and exit application only after 7 consecutive failed attempts to connect to ACEN server. This means that in case timing option is set to "once a day" error message will be displayed on 7th day of consecutive failed attempts.

If removed

Select action in case license is removed from ACEN.

Available values: "reset license" and "reset license and ban"

"reset license" - protection code will reset existing license and close application. Next time application is run it will automatically try to get new license from Activation center.

"reset license and ban" -  protection code will reset existing license, ban remote computer (!) from accessing Activation center and close application. Next time application is run it will display AWS_BannedError ("License can not be activated on this computer!"). Ban is set locally and not in ACEN so in case end user formats computer and reinstall software application will 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 "show error" enabled and in case both checks fail two error messages (and this is usually the same error message) will be displayed to end user so it is recommended to enable only single "show error" option in this case (other one should be set to "do nothing"). In this case only single error message will be displayed.

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