WLTrialStringWrite

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Trial Functions >

WLTrialStringWrite

The WLTrialStringWrite function writes a custom string to the Registry. The string is stored using encryption algorithms and the location of the string is different for each computer.

 

The location of the string also depends on the "Trial Unique Key" in the protected software. If you change the "Trial Unique Key" in your Software and protect again, the strings will be stored in a different Registry location.

 

NOTE: If StringName starts with "!", the custom string will be stored under HKEY_LOCAL_MACHINE, otherwise it will be stored under HKEY_CURRENT_USER in the Windows Registry.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

pStringName

[in] Name of the string to be accessed.

 

pStringValue

[in] Value of the string to be stored under StringName.

 

 

Return Values

 

If the function succeeds, the return value is True.

 

If the writing to the Registry fails, the return value is False.

 

 

See Also

 

WLTrialStringRead