Pay-by-Peak Time (Peak Time)

Sentinel LDK Functionality Compares a value in the Protection Key memory with a value collected during run-time
Software Distribution Method

>Physical package

>Electronic distribution

Applicable Key Types

>All Sentinel HL (Driverless configuration) keys except Sentinel HL Basic

>Sentinel SL (including CL)

Protection Method API-based automatic implementation

Description

The end user purchases a predefined number of “usage units”. Differential charging is calculated according to the hour of the day or the day of the week in which your software is used. When your software is used at peak demand time, more “usage units” are consumed than at low demand time. This type of license might be applicable in an environment such as a learning facility, in order to encourage students to use resources at low demand time.

Implementation

1.Select the executable file that you want to license, and determine by which Feature ID it will be identified.

2.In your code, insert a Sentinel Licensing API Login call to the Feature ID.

3.Determine what constitutes “active” for the purpose of calculating usage and define this in your code, for example:

a.Your software window is focused and activity is detected.

b.Your software is active, performing calculations, even if the window is not focused.

4.In Sentinel EMS, in the Protection Key memory, define the total number of “usage units” that has been purchased and the pricing structure (number of “usage units” for each time unit and each rate).

5.Envelope your software for additional security (optional).

6.Distribute your software with the appropriate Sentinel protection key programmed with the license.

7.Using the Sentinel Licensing API and the key’s built-in clock:

a.Calculate the accumulated active time for each separate rate.

b.Calculate the total number of “usage units” consumed.

c.Write the result to the Protection Key memory.

d.Verify that the accumulated consumption has not exceeded the total number of “usage units” defined in the Protection Key memory.

e.When the “usage units” are about to expire, display a warning message.

8. Replenish the pool of “usage units” when the license is renewed.