I have enabled Dynamic Smartkeys and Registry keys in the "Registration" panel. The problem is that if I create a .reg key directly and I later call WLRegGetDynSmartKey I don't get the Smartkey. What's wrong?

<< Click to Display Table of Contents >>

Navigation:  WinLicense > FAQ > Registration > Smartkeys >

I have enabled Dynamic Smartkeys and Registry keys in the "Registration" panel. The problem is that if I create a .reg key directly and I later call WLRegGetDynSmartKey I don't get the Smartkey. What's wrong?

WLRegGetDynSmartKey only works for Dynamic Smartkeys that you create explicitly. That is, if you install a file or registry key directly, you cannot get the original Dynamic Smartkey (because it's not in fact a Dynamic Smartkey). Please, keep in mind that you also have the "Custom Data" field in the license, where you might want to store similar information that you want to retrieve in runtime (via WLRegGetLicenseInfo)