hasp_read Screen

Description

Reads the memory of a Sentinel protection key. The hasp_read screen contains the following fields:

File ID

Select the memory file from which you want to read.

Possible values are:

>For default read-only memory: HASP_FILEID_RO

>For default read/write memory: HASP_FILEID_RW

>For a dynamic memory file (read-only, read/write, or read/write-once): The ID that was assigned to the file when the file was created.

Offset

Specify an offset to begin reading from the memory file.

Length

Specify the length of the data you are going to read from the memory file.

Handle

The handle for the current session.

The hasp_read screen includes the memory editor shown above. The memory editor can be used to view the contents of the protection key memory.

Save As

Stores the memory contents in a separate file

Click Execute to transfer the function and field definitions to the Sentinel Licensing API. After the function is executed, corresponding values are displayed in the status fields and the executed function call is logged in the API Call History.

Use the hasp_get_size function to determine the file size before reading from the protection key memory.

Related Topics

Generated Code Pane

API Call History

hasp_get_size screen

hasp_login screen

hasp_write screen

hasp_read()

Function Display

Accessing the Sentinel Licensing API Reference