<< Click to Display Table of Contents >> Navigation: WinLicense > FAQ > Registration > Smartkeys > I have included all user information (Name, Company, Custom Data) inside a Dynamic SmartKey. How do I call WLRegSmartKeyCheck if I just have a single SmartKey string? I mean, the function requires 4 parameters and I only have one (the SmartKey string) |
If you embed all user information (Name, Company, Custom Data) inside the Dynamic Smart Key, you just need to pass the SmartKey string to WLRegSmartKeyCheck and WLRegSmartKeyInstallToFile/WLRegSmartKeyInstallToRegistry. Example:
if (WLRegSmartKeyCheck(NULL, NULL, NULL, pMySmartKey)) { WLRegSmartKeyInstallToFile(0, 0, 0, pMySmartKey); } |