User's Manual

63
12 Protecting several programs with SmartKey
In the Lan environment, you can use a single SmartKey NET to protect several software programs. The technology used
is named
Map
Multi Application Protection
and enables you to:
Protect more than one program in a standalone or network environment. For local networks, a different
number of enabled licenses can be defined for each protected program.
Limit
the number of executions
of each of the protected programs. This feature can be useful for creating
demo versions of the software or for adopting a software hiring policy. When the number of executions preset
on a counter expires (quantity reduced at every program start-up), the program is not allowed to start any more.
12.1 Operating methods
Implementing Map entails only a few small differences compared to the operating methods we have described, i.e.:
Optional limitation of the number of executions and, in the case of SmartKey NET, programming the number
of licenses for each individual program.
A different calling method to the management driver as regards OPEN mode and USER NUMBER mode
operations.
12.2 Programming the number of licenses and executions
The maximum number of programs that can be protected by the same dongle is 116. The maximum number of
executions for each program is in the range from 1 to 65,535. Value -1 disables this control and, therefore, there is no
limit to the number of executions.
The number of licenses and executions for each program can be set by writing the value in the first bytes of the Secure
Data field, and possibly, in the Extended Data field of the dongle, following the scheme below:
Offset Value Meaning
0 ‘M’ (4D hex) Map identification fixed code
1 ‘A’ (41 hex) Map identification fixed code
2 0 - 50 Maximum number of users for program 1
3-4 0 - 65535 Maximum number of executions for program 1
5 0 - 50 Maximum number of users for program 2
6-7 0 - 65535 Maximum number of executions for program 2
8 0 - 50 Maximum number of users for program 3
9-10 0 - 65535 Maximum number of executions for program 3
62 0 - 50 Maximum number of users for program 20
63-0 (ext_data) 0 - 65535 Maximum number of executions for program 20
1 (ext_data) 0 - 50 Maximum number of users for program 21
2-3 (ext_data) 0 - 65535 Maximum number of executions for program 21
285 (ext_data) 0 - 50 Maximum number of users for program 116
287-288 (ext_data) 0 - 65535 Maximum number of executions for program 116
Table 41
Settings for licenses management
For example, if you wish to protect 3 different programs with the following quantities of licenses and executions: