How to Optimize Performance for Sentinel LDK Run‑time Environment

Certain configuration parameters or activities performed by a protected application can lead to reduced performance in the Sentinel LDK Run-time Environment.

This section describes how you can optimize the environment and protected application to achieve better performance.

SL UserMode License

The presence of an SL UserMode license in a protection key on the end user’s computer increases the time required for the first login/get_info operation performed for a protected application, even if the license is not required for that application. Therefore, do not place an SL UserMode license on a computer unless required.

Run-time Environment

For best performance, ensure that when the Run-time Environment is required, the Run-time Environment on the end user’s computer is the most current. In addition, the Run-time Environment provides better performance after it has been active for at least three minutes.

Testing for Presence of Features

To determine whether certain Features exist in a protection key before using them, the protected application can call the GetInfo function in the Licensing API. This function can retrieve a list of all the Features that exist in the protection key. This is more efficient than attempting to log in and then log out immediately to individual Features just to determine if they exist. In addition, use of the GetInfo function does not consume a license. However, after using the GetInfo function, the protected application should call the Login function to log in to Features to use.