Check number of available licences in runtime

  • 3K Views
  • Last Post 26 March 2013
Micha posted this 22 March 2013

Good morning,

We have a Abbyy Fine reader Engine 10 installed on our machine with a license that allows up to 2 Abbyy processes to run simultaneously. The problem is to find out in runtim how many processes can be started. For example - there is 0 Abbyy processes in memory so the number is 2. If there is one Abbyy process in memory, the number is 1 and if there are 2 processes in memory so the number is 0 accordingly. Is there any property that allows to do so? We use C# .NET.

Thank you all very much.

  • Liked by
  • Dmitry Me
Anastasia Galimova posted this 26 March 2013

Hello Micha,

Now there is no such a property. Could you please describe a scenario when you need it?

  • Why don’t you know how many processes you have run?
  • You can use CPU cores in shared mode. In this mode any number of processes can be run (the detailes can be found in Help > Index > SharedCPUCoresMode). Is it suitable for your task?

If you need to do something when there are no more free licenses, you can process the corresponding exception.

In the license manager you can see a square to the left of the serial number – it can also be helpful. It shows whether the license is currently in use:

  • The green square means that the license is not in use now, all available CPU cores are free. The license can be used for processing.

  • The red and green square means that the license is in use, but there are some free CPU cores. Some recognition processes can be run with this license.

  • The red square means that the license is in use, all available CPU cores are busy. No more recognition processes can be run with this license.

  • Liked by
  • Dmitry Me
Close