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

# RestartLicensing Method of the Engine Object

<Note>
  This method is implemented in FRE for Linux and Windows.
</Note>

This method is called to restart licensing, for example, after the connection to the license server was broken and re-established. In case of success, it returns TRUE.

## Syntax

### C++

```cpp theme={null}
HRESULT RestartLicensing( VARIANT_BOOL* Result );
```

### C\#

```csharp theme={null}
bool RestartLicensing();
```

### Visual Basic .NET

```vb theme={null}
Function RestartLicensing() As Boolean
```

## Parameters

Result

\[out, retval] This parameter returns TRUE if the licensing is successfully restarted and the program operation can be continued.

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

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

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