This topic applies to FRE for Windows.
Adding ABBYY FineReader Engine library to a .NET Core project
ABBYY FineReader Engine includes the FREngine.DotNet.Interop.dll file, which contains the .NET Core wrapper for FineReader Engine. You can find this file in the Bin or Bin64 folder of the installation folder. You should add FREngine.DotNet.Interop.dll to the dependencies assembly in your project and redistribute it with your ABBYY FineReader Engine-based application.Loading and unloading ABBYY FineReader Engine
To initialize the Engine object, set the path to FREngine.dll with the SetFREnginePath method of the static FREngine class, then use the InitializeEngine function of the same class. To unload the Engine object, use the DeinitializeEngine function.C# code
C# code
Collecting garbage
All objects in the .NET Core wrapper are derived from the IDisposable interface, which is responsible for releasing the resources allocated for objects. Implementing this interface ensures the collecting of the garbage automatically when an object is no longer needed. It is necessary to use the using statement for finishing with the objects, especially with heavy objects related to the document processing, synthesis, or export, such as IFRDocument, IFRPages, PDFExportParams, etc. (see the example below):С# code
С# code
