> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# License Object (ILicense Interface)

This object stores information about the current license.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AllowedCoresCount** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Describes the set of the export formats available in the license as a bitwise OR combination of the [**AEF\_**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/aef-flags.md) prefixed flags. |
| **AvailableFlexiCaptureEngineModules** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Describes the set of the ABBYY FlexiCapture SDK modules available in the license as a bitwise OR combination of the [**AFCEM\_**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/afcem-flags.md) prefixed flags. |
| **CounterMeasureUnit** | [**LicenseCounterMeasuringUnitEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/licensecountermeasuringunitenum.md), 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/licenselimitationperiodenum.md), 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Returns the serial number of the license. |
| **UnitsPerPeriod** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/license-expirationdate.md) | 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**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) method of the [**LicenseCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/licensecollection.md) object.

## Input parameter

This object is the input parameter of the [**SetCurrentLicense**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-setcurrentlicense.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/License.gif?s=b40215c27154a8af35910eb65ec23887)

## See also

[**LicenseCollection**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/licensecollection.md)

[**IEngine::SetCurrentLicense**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-setcurrentlicense.md)
