hasp_get_size Screen

Description

Retrieves the byte size of a memory file from a Sentinel protection key. The hasp_get_size screen contains the following fields:

File ID

Identifier for the file that is to be queried.

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.

Size

A value for the file size will be returned

Handle

The handle for the current session

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.

This function is used in conjunction with the hasp_read and hasp_write API functions.

Related Topics

Generated Code Pane

API Call History

hasp_read screen

hasp_login screen

hasp_write screen

hasp_get_size()

Function Pane

Accessing the Sentinel Licensing API Reference