> ## 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.

# GetAvailableLicenses Method of the Engine Object

This method provides access to the collection of available licenses for a given [Customer Project ID](/fine-reader/engine/api-reference/functions/initializeengine-function#customerprojectid).

The subset of all licenses that is returned depends on the type of the installation:

1. For Developer installation, the method returns only Developer licenses and those Runtime licenses for which debugging is allowed. By default debugging is not allowed for Runtime licenses, but it can be turned on by request.
2. For Runtime installation, the method returns all activated licenses that match the CustomerProjectID.

For both installation types, the file can be found in the Bin folder or Bin64 folder (for Win64) under the installation folder.

1. Linux and macOS: libProtection.Developer.so
2. Windows: [Protection.Developer.dll](/fine-reader/engine/distribution/distribution-windows/distribution-kit#protection.developer.dll)

## Syntax

### C++

```cpp theme={null}
HRESULT GetAvailableLicenses(
  BSTR        CustomerProjectID,
  BSTR        Reserved,
  ILicenses** Result
);
```

### C\#

```csharp theme={null}
ILicenses GetAvailableLicenses(
  string CustomerProjectID,
  string Reserved
);
```

### Visual Basic .NET

```vb theme={null}
Function GetAvailableLicenses( _
  CustomerProjectID As String, _
  Reserved As String _
) As ILicenses
```

## Parameters

CustomerProjectID

\[in] Specifies the Customer Project ID number.

Reserved

\[in] Reserved for future use. The empty string "" or Null pointer should be passed.

Result

\[out, retval] A pointer to ILicenses\* pointer variable that receives the interface pointer of the output [Licenses](/fine-reader/engine/api-reference/license-related-objects/licenses) object.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[Engine](/fine-reader/engine/api-reference/engine-object-iengine-interface)

[License](/fine-reader/engine/api-reference/license-related-objects/license)
