edmiGetLicenseInfoFromLicenseKey
EdmiError edmiGetLicenseInfoFromLicenseKey (SdaiString licenseKey,
SdaiLicenseInfo *licenseInfo);
This function retrieves the server license information. The result is placed within the following struct. When the returned struct “licenseInfo” is not needed anymore it should be freed by calling “edmiFree(licenseInfo)
typedef struct _tSdaiLicenseInfo {
SdaiString productName;
SdaiString version;
SdaiInteger licenseId;
SdaiString licenseType;
SdaiInteger expiryYear;
SdaiInteger expiryMonth;
SdaiInteger expiryDay;
SdaiString operatingSystem;
SdaiInteger licenseOptions;
SdaiInteger numberOfApplicationServers;
SdaiInteger numberOfNamedUsers;
SdaiString systemId;
} tSdaiLicenseInfo;
typedef tSdaiLicenseInfo *SdaiLicenseInfo;Arguments
Type | Name | Comment |
SdaiString | licenseKey | license key string |
SdaiLicenseInfo | licenseInfo | Structure containing the results |
Return Value
Options
Example
<example>
See also
Does this work? I am getting some strange values (even stranger with test licenses).
for example
EDM_LIC_602=lzaG.k6-D'Vq'OPz&oUvK0A8kTuBGeiNu'7zVfo7&Lw7i5SZGqwDC&x-n8HesVK4tFG)OFYje,3Ly&cFKq1B"will return 2017 as the expiry year.Tuan