<< Click to Display Table of Contents >>
Navigation: WinLicense > FAQ > Registration > Smartkeys >
When I call WLRegLicenseCreationDate from inside my protected application, I cannot get the creation date for my SmartKeys.
Notice that old SmartKeys (Static SmartKeys) don't have support to embed the creation date inside of the SmartKey. You have to use the new "Dynamic SmartKeys" or the common "File keys, Registry Keys or Text Keys".
Notice that if want to embed the creation date inside your generated license, you have to specify it explicitly when you are going to generate a new license. From the "License Manager", you just need to check the option "Store Creation Date" before generating a new license.
If you are creating licenses from your own license generator, you have to use the new functions (WLGenLicenseFileKeyEx, WLGenLicenseRegistryKeyEx, WLGenLicenseTextKeyEx, WLGenLicenseDynSmartKey) which accepts a parameter "LicenseFeatures" that specifies the features of the license to generate.
The definition of that structure is the following:
typedef struct _sLicenseFeatures
You can see the last field "EmbedCreationDate". You have to set that field to "1" if you want that your generated license will include the creation date.