Eduction SDK Licenses
In Eduction SDK version 24.3, Eduction licenses consist of two files:
-
your license key, commonly called
licensekey.dat
, which contains information about the components and operations that you can run.
-
the version key,
versionkey.dat
, which contains information about the Eduction component versions that you can run.
In general the best way to use these two files together is to concatenate them with a semicolon character (;
) as a separator.
Provide License Key Data as a String
In functions where you provide license key data as a string (such as EdkFactoryCreateWithLicenseKey
and EdkSetLicenseKey
in the C API), append the license key data with a semicolon character (;
), followed by the data from your versionkey.dat
file. Pass this string into the relevant argument of the function.
Load License Key Data from a File
For functions where Eduction loads license key data from a file (such as EdkEngineCreateFromConfigFile
and EdkSetLicenseKeyFromFile
in the C API), you can generate a create a valid license key file. Append your provided license key with a semicolon character (;
) followed by the contents your versionkey.dat
file. Use the path to this generated file as the license key file path argument of these functions.
Check License Validity
Each API has a function available to let you check the validity of your Eduction license.
-
These functions return a JSON object that contains information about your license.
-
C API:
EdkGetLicenseInfo
-
Java API:
getLicenseInfo
in theTextExtractionFactory<T>
andEDKFactory
classes. -
.NET API:
GetLicenseInfo
in theEDKFactory
class.
These functions return a JSON object that contains information about your license, such as the status, expiration date, and the versions that the license applies to. The Eduction SDK download package includes the JSON schema for this JSON object.