Skip to main content
This object stores information about the current license.

Properties

Name

Type

Description

Application

Engine, read-only

Returns the Engine object.

License number

CustomerProjectId

BSTR, read-only

Returns the Customer Project ID to which the license corresponds. The ID is common to all the licenses in one project and is used to initialize the library.

SerialNumber

BSTR, read-only

Returns the serial number of the license.

License parameters

AvailableEngineModules

int, read-only

Describes the set of the ABBYY FineReader Engine modules available in the license as a bitwise OR combination of the AEM_ prefixed flags.

AvailableBarcodeModules

int, read-only

Describes the set of the ABBYY FineReader Engine barcode modules available in the license as a bitwise OR combination of the ABM_ prefixed flags.

AvailableExportFormats

int, read-only

Describes the set of the export formats available in the license as a bitwise OR combination of the AEF_ prefixed flags.

AvailableLanguageSets

int, read-only

Describes the set of the language sets available in the license as a bitwise OR combination of the ALS_ prefixed flags.

AvailableTextTypes

int, read-only

Describes the set of the text types available in the license as a bitwise OR combination of the ATT_ prefixed flags.

AvailableVisualComponents

int, read-only

Visual Components are currently only supported for Windows.

Describes the set of the ABBYY FineReader Engine Visual Components modules available in the license as a bitwise OR combination of the AVC_ prefixed flags.

AllowedCoresCount

int, 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.

MinimumCoresCountPerInstance

int, read-only

Returns the minimum number of CPU cores which is allocated by ABBYY FineReader Engine at initialization.

Volume counters

Volume

int, read-only

Returns the total number of pages/characters which can be processed during a period if the license has such a limitation. See also the VolumeRefreshingPeriod property.

VolumeRefreshingPeriod

VolumeRefreshingPeriodEnum, read-only

Returns information about the limitation period if the license limits the number of processed pages/characters during this period. See also the VolumeRemaining, Volume properties.

VolumeRemaining

int, read-only

Returns 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 the VolumeRefreshingPeriod property.

Methods

NameDescription
ExpirationDateReturns a flag indicating whether the license has an absolute or relative time limitation, and the date at which the license will stop working.
VolumeRefreshingDateReturns a renewal date for the ABBYY FineReader Engine license limitations in a number of pages processed.
License Object Diagram

Output parameter

This object is the output parameter of the Item and Find methods of the Licenses object.

Input parameter

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

Samples

FREngine.IEngine engine;
// We presume that the Engine object has been initialized
// Working the license properties
int allowedCores = Engine.CurrentLicense.AllowedCoresCount;
if( allowedCores == 0 ) {
 // Unlimited number of cores is allowed by the license
} else {
 // The number of cores allowed by the license: allowedCores
}
The object is used in the following code samples:

See also

Licenses Working with Properties Methods Which Increase the License Counter