License Object (ILicense Interface)

This object stores information about the current license.

Properties

Name Type Description
AllowedCoresCount Integer, read-only Returns the number of CPU cores that can be used simultaneously. If the value of this property is 0, the number of CPU cores is unlimited.
AvailableExportFormats Integer, read-only Describes the set of the export formats available in the license as a bitwise OR combination of the AEF_ prefixed flags.
AvailableFlexiCaptureEngineModules Integer, read-only Describes the set of the ABBYY FlexiCapture SDK modules available in the license as a bitwise OR combination of the AFCEM_ prefixed flags.
CounterMeasureUnit LicenseCounterMeasuringUnitEnum, read-only Returns information about the counter measuring unit if the license limits the number of processed pages/characters during a period. See also LimitationPeriod and UnitsPerPeriod properties.
LimitationPeriod LicenseLimitationPeriodEnum, read-only Returns information about the limitation period if the license limits the number of processed pages/characters during this period. See also CounterMeasureUnit and UnitsPerPeriod properties.
RemainingUnits Integer, read-only Returns information about the remaining number of pages/characters which can be processed till the end of the current period if the license has such a limitation. When this property value reaches 0, analysis, recognition and export operations will not be possible. See also CounterMeasureUnit and LimitationPeriod properties.
SerialNumber String, read-only Returns the serial number of the license.
UnitsPerPeriod Integer, read-only Returns information about the total number of pages/characters which can be processed during a period if the license has such a limitation. See also CounterMeasureUnit and LimitationPeriod properties.

Methods

Name Description
ExpirationDate Returns the flag indicating whether the license has an absolute or relative time limitation as well as the date at which the license will stop working.

Output parameter

This object is the output parameter of the Item method of the LicenseCollection object.

Input parameter

This object is the input parameter of the SetCurrentLicense method of the Engine object.

Related objects

See also

LicenseCollection

IEngine::SetCurrentLicense

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.