Using the Sentinel Admin API

Sentinel LDK ToolBox can be used to familiarize programmers and developers with the Sentinel Admin API, its functions and implementation.

To work with the Sentinel Admin API:

1.Launch Sentinel LDK ToolBox.

2.Review the Sentinel LDK ToolBox settings.

3.In the API panel, select Admin API.

4.In the Function pane, select sntl_admin_context_new.

5.Provide the required context parameters and click Execute. (Leave the fields blank for the local License Manager.) Successful execution of sntl_admin_context_new returns an entry in the Context List pane. The handle is then used for this specific session.

NOTE   You must initialize a context before you can retrieve information or perform actions.

You can begin another parallel context by repeating steps 4 and 5. The Sentinel Admin API supports up to 512 separate License Manager contexts.

6.To retrieve information: In the Function pane, select sntl_admin_get. Ensure that the correct context handle appears in the Handle field. Provide the required scope and format parameters and click Execute. The retrieved information is displayed on the Output tabbed page of the function.

7.To perform an action: In the Function pane, select sntl_admin_set. Ensure that the correct context handle appears in the Handle field. Select an action template and modify the XML code as necessary. Click Execute. The status of the action is displayed in the Action field.

8.To terminate a specific session, select sntl_admin_context_delete. Ensure that the handle for the session that you want to terminate is displayed in the Handle field. Click Execute.

9.To view a list of all your API calls, click the API Call History button . All function calls and their subsequent returns are displayed in the API Call History dialog box.

Related Topics

Sentinel LDK ToolBox Settings

Using Sentinel LDK ToolBox

Generating Source Code

Encrypting and Decrypting Data Buffers

Accessing the Reference Information for an API

API Call History