The PLUS Trigger Code algorithm is extremely powerful, allowing you to remotely trigger any event in your application running on a customer’s computer. Determining the appropriate actions to program can be somewhat overwhelming and intimidating. We designed the EZ Trigger algorithm to implement the most common Event IDs needed by developers. You can use your own Trigger Code processing engine, ours, or even a combination. Below is a list of event actions that can be performed remotely when using EZ Trigger. The value of <Reg Key 2> is the Trigger Code Event Data value that is sent along with the Trigger Code Event ID <Reg Key 1>. Since the value of Reg Key 2 is encrypted, the user can neither view nor tamper with this value.
Product Expiration
The following Trigger Codes are used to change the product expiration fields in the License File. You can turn a demo into a live product, extend a demo, payment, or lease customer, etc. When turning a demo into a live product by changing the expiration type, these codes should only be used when NOT using the Hardware Binding (copy protection) features of EZ Trial. Instead, the Copy Protection Trigger Codes should be used. Please refer to the Product Definition EZ Trial Tab in LFEdit to see if you have enabled this option. If you are using the Hardware Binding (copy protection) option, you should distribute Trigger Codes as identified in the section labeled "Copy Protection."
Trigger Codes 19 and 20 can be used with EZ Trial for trial extension and Trigger Code 26 can be used to re-sync the Last Used date/time with the current system date/time, even with Hardware Binding enabled.
Trigger Code 18 - Set Expiration Type to N for No expiration. Clears expiration dates.
Trigger Code 19 - Set Expiration Type to D for Demo. Product will expire 30 days from today.
Trigger Code 20 - Set Expiration Type to D for Demo. Product will expire <Reg Key 2> days from today.
Trigger Code 21 - Set Expiration Type to P for Periodic expiration. Product will expire 90 days from today.
Trigger Code 22 - Set Expiration Type to P for Periodic expiration. Product will expire <Reg Key 2> days from today.
Trigger Code 23 - Set Expiration Type to S for Shareware expiration. Product will expire <Reg Key 2> days from today.
Trigger Code 24 - Sets hard expiration date to <Reg Key 2> days from today. Clears soft expiration date. Expiration Type flag is not changed.
Trigger Code 25 - Sets Expiration Limit to <Reg Key 2>.
Trigger Code 26 - Update last used date/time flags to the current time for people who tampered with the clock and are locked out.
Copy Protection
The following Trigger Codes are used to enable the application when the Hardware Binding (copy protection) option is used. In most cases, Code 28 will be used to unlock an application using Hardware Binding (copy protection).
Trigger Code 27 - Authorize additional Computer ID Number.
Trigger Code 28 - Same as 27 and also sets the Expiration Type to N for No expiration.
Trigger Code 29 - Same as 27 and also sets the Expiration Type to P for Periodic. Product will expire <Reg Key 2> days from today.
Trigger Code 30 - Erase all authorized Computer ID Numbers and authorize this computer.
Trigger Code 31 - Same as previous and also sets the Expiration Type to N for No expiration.
Trigger Code 32 - De-authorize this computer.
Trigger Code 36 - De-authorize All computers stored in license file.
Network Licensing
These Trigger Codes are used to remotely control the number of allowed users in a network installation.
Trigger Code 33 - Set number of allowed LAN users to <Reg Key 2>.
Trigger Code 34 - Increase number of allowed LAN users by <Reg Key 2>.
Trigger Code 35 - Decrease number of allowed LAN users by <Reg Key 2>.
Trigger Code 37 - Authorizes additional Computer ID Number and sets Expiration Type to 'N' and number of allowed LAN users (VAR_LAN_LIMIT) to <Reg Key 2>.
Advanced Event IDs
The following Trigger Codes are used to manipulate the user-defined fields in the License File. These user-defined fields are for advanced users only and are typically used to define modular application on/off flags or counter fields. These events will only be used by advanced applications.
Trigger Code 1 - Set number of allowed Installations to <Reg Key 2>.
Trigger Code 2 - Increment number of allowed Installations by <Reg Key 2>.
Trigger Code 3 - Decrement number of allowed Installations by <Reg Key 2>.
Trigger Code 4 - Sets first 14 bits of user-defined number 1 to <Reg Key 2>.
Trigger Code 5 - Enables first 14 bits of user-defined number 1 to <Reg Key 2>.
Trigger Code 6 - Sets second 14 bits of user-defined number 1 to <Reg Key 2>.
Trigger Code 7 - Enables second 14 bits of user-defined number 1 to <Reg Key 2>.
Trigger Code 8 - Sets first 14 bits of user-defined number 2 to <Reg Key 2>.
Trigger Code 9 - Enables first 14 bits of user-defined number 2 to <Reg Key 2>.
Trigger Code 10 - Sets second 14 bits of user-defined number 2 to <Reg Key 2>.
Trigger Code 11 - Enables second 14 bits of user-defined number 2 to <Reg Key 2>.
Trigger Code 12 - Sets value of user-defined number 3 to <Reg Key 2>.
Trigger Code 13 - Increases value of user-defined number 3 by <Reg Key 2>.
Trigger Code 14 - Sets value of user-defined number 4 to <Reg Key 2>.
Trigger Code 15 - Increases value of user-defined number 4 by <Reg Key 2>.
Trigger Code 16 - Sets value of user-defined number 5 to <Reg Key 2>.
Trigger Code 17 - Increases value of user-defined number 5 by <Reg Key 2>.