ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HASP key functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HaspHLRead (Function)
In french: HaspHLLit
Reads some data (character strings or buffers) in the internal memory of the Hasp key.
Example
// 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:
    haspLicenseFileReads in the "license area" file of the key.
    haspMainFileReads 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.
Component: wd290rtf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help