|
|
|
|
HaspHLRead (Function) In french: HaspHLLit Reads some data (character strings or buffers) in the internal memory of the Hasp key. // Retrieves the initial activation key in the memory of the Hasp key InitialKey is string InitialKey = HaspHLRead(EDT_Session_ID, haspMainFile, 0, 30) Â // Compares the initial key to the activation key that was received KeyCompareKey(InitialKey, ActivationKey)
Syntax
<Result> = HaspHLRead(<Session identifier> , <File identifier> , <Position> , <Size>)
<Result>: Character string Information read in the memory of the Hasp key. <Session identifier>: Integer Identifier of the Hasp session, returned by HaspHLLogin. <File identifier>: Integer or Integer constant Identifier of the file in which the data must be read. This identifier can correspond to:- an integer.
- one of the following constants:
| | haspLicenseFile | Reads in the "license area" file of the key. | haspMainFile | Reads in the "main memory area" file of the key. |
<Position>: Integer Position (in bytes) where the data will be read in the file.Caution: The beginning of the file starts from position 0. <Size>: Integer Size (in bytes) of the data to read.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|