sntl_lg_get_info() Function
Description
Retrieves information associated with a handle, such as the list of compatible protection keys. The function also retrieves the last error message thrown by the last function that was called.
Syntax
sntl_lg_status_t SNTL_LG_CALLCONV sntl_lg_get_info (
sntl_lg_handle_t handle, sntl_lg_info_type_t info_type,
char **info)
Parameters
|
[IN] License generation handle. |
|
|
[IN] Type of information. Possible types are: |
|
SNTL_LG_INFO_CAPABLE_DEVICES |
Retrieve a list of the types of Sentinel protection keys that are compatible with the current license definition. |
|
---|---|---|
SNTL_LG_INFO_LAST_ERROR_MESSAGE |
Retrieve the last error message associated with a handle. |
|
|
[OUT] Pointer to the information retrieved. For capable device information, possible key types are as described below. Sentinel SL keys: SL-AdminMode SL-Legacy HASP HL keys: HL-NetTime-250+ Sentinel HL keys: Sentinel-HL-NetTime-250+ The configuration of compatible Sentinel HL key is indicated by the configuration attribute. Possible values are: >HASP configuration: configuration="sentinelhl, hasphl" >Driverless configuration: configuration="sentinelhl, driverless" |
Return Values
SNTL_LG_LIB_INITIALIZATION_FAILED