In my plugin, I'm using the function SecureEngineProcessHardwareId to change the hardware ID to something like "1234-56"  but it does not work fine.

<< Click to Display Table of Contents >>

Navigation:  WinLicense > FAQ > Plugins >

In my plugin, I'm using the function SecureEngineProcessHardwareId to change the hardware ID to something like "1234-56"  but it does not work fine.

The problem is that you have to pass a hardware ID equivalent in format to the one in WinLicense. Something like:

 

1111-2222-3333-4444-5555-6666-7777-8888

 

Please, make sure that your own hardware IDs have the above format.

 

If you want a short hardware ID for your clients, then you can programmatically fill with zeros your short hardware ID to convert it to the format expected by WL. Example:

 

"1234-56" convert it (internally) to

 

"1234-5600-0000-0000-0000-0000-0000-0000"

 

Please, refer to the Remarks section in the SecureEngineProcessHardwareId entry.