SHasp_Version ( { versionFormat } )
Standard functionality, accepting version formats "short", "long",
and "platform". Optionally, "copyright" and "credits" selectors may
get also implemented.
SHasp_Register ( registrationCode )
Standard functionality, accepting all valid codes,
prompting for code if an invalid code was supplied, returning non-zero
result when operation not permitted.
SHasp_Get( feature_id ; vendor_code ; selector )
Returns the current value of a HASP HL key parameter selected by selector.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.
SHasp_Get( feature_id ; vendor_code ; "rtc" ) - returns the current time from HASP HL Time key
SHasp_Get( feature_id ; vendor_code ; "session-info" ) - returns information regarding a session context
SHasp_Get( feature_id ; vendor_code ; "size" ) - returns the memory size of HASP HL Key in bytes
SHasp_Encrypt( feature_id ; vendor_code ; data )
Returns encrypted data using AES encryption algorithm.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.
SHasp_Decrypt( feature_id ; vendor_code ; data )
Returns decrypted data using AES encryption algorithm.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.
SHasp_Read( feature_id ; vendor_code ; fileid ; offset ; length )
Reads a memory of HASP HL key and returns it.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.
SHasp_Update( update_data )
Writes and update for a HASP HL license, returns acknowledgment code.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.
SHasp_Write( feature_id ; vendor_code ; fileid ; offset ; length ; data )
Writes to a memory of HASP HL key. It returns 0.
If an error occurs the function returns error code according to Aladdin API.
In case of syntax error the function returns -50.