WupiWriteDataInteger
WupiWriteDataInteger writes raw data to the CodeMeter / WibuKey device that was previously prepared for writing. This variant writes the data in two byte pieces. If the used programming language has the possibility to use pointers we recommend to use WupiWriteData instead.
How to define the data is described briefly in the knowledge base article Read and Write data.
Syntax |
|---|
int WupiWriteDataInteger(int iLicenseList, int iOffset, int iData); |
Parameters |
•iLicenseList refers to the license list index. •iOffset contains the offset of bytes from the start of the data area. •iData contains the data to be written. |
Return |
This function returns FALSE (0), if an error occurs, otherwise TRUE (1). |
Syntax |
|---|
public static bool WriteDataInteger(int LicenseList, int Offset, int Data) |
Parameters |
•LicenseList refers to the license list index. •Offset contains the offset of bytes from the start of the data area. •Data contains the data to be written. |
Return |
This function returns false, if an error occurs, otherwise true. |