FlexiCapture SDK – Test Run (Licensing Service customization)

To check FLexiCapture SDK Licensing Service setting, follow the steps below

 

1) Run a sample project with default settings:
- follow the steps at C:\ProgramData\ABBYY\FCSDK\12\FlexiCapture SDK\Samples\Python\Hello\Readme.txt
- use default settings at the initial run

 

C:\Program Files\ABBYY SDK\12\FlexiCapture SDK\Bin64\LicensingSettings.xml

<?xml version="1.0" encoding="utf-16"?>
<LicensingSettings xmlns="http://www.abbyy.com/Protection/LicensingSettings">
<EnableCodeMeterLicenses Enable="no" />
<LocalLicenseServer><ConnectionProtocol ProtocolType="LocalInterprocessCommunication" />
</LocalLicenseServer></LicensingSettings>

C:\Program Files (x86)\Common Files\ABBYY\FCSDK\12\Licensing\LicensingSettings.xml

<?xml version="1.0" encoding="utf-16"?>
<LicensingSettings xmlns="http://www.abbyy.com/Protection/LicensingSettings">
<LocalLicenseServer><ConnectionProtocol ProtocolType="LocalInterprocessCommunication" />
<EnableCodeMeterLicenses Enable="no" />
</LocalLicenseServer>
</LicensingSettings>

*Notes - there is two LicensingSettings.xml files

 

To run, a sample project with custom settings, you can find some information in the article About the LicensingSettings.xml File

Example:

C:\Program Files (x86)\Common Files\ABBYY\FCSDK\12\Licensing\LicensingSettings.xml

<?xml version="1.0" encoding="utf-16"?>
<LicensingSettings xmlns="http://www.abbyy.com/Protection/LicensingSettings">
<LocalLicenseServer><ConnectionProtocol ProtocolType="TCP/IP" EndPointName="1025" />
<EnableCodeMeterLicenses Enable="no" />
</LocalLicenseServer>
</LicensingSettings>

C:\Program Files\ABBYY SDK\12\FlexiCapture SDK\Bin64\LicensingSettings.xml

<?xml version="1.0" encoding="utf-16"?>
<LicensingSettings xmlns="http://www.abbyy.com/Protection/LicensingSettings">
<EnableCodeMeterLicenses Enable="no" />
<LocalLicenseServer><ConnectionProtocol ProtocolType="TCP/IP" EndPointName="1025" />
</LocalLicenseServer></LicensingSettings>

To verify that the changes are working correctly, follow the steps
Open CMD and run

netstat -anop TCP|find ":1025"

- from the settings EndPointName="1025"

Note a PID and run

tasklist /SVC /FI "PID eq XXXX" 

- XXXX = PID

Expected results Example:

Screenshot_2021-08-26_142054.png

NOTE!:

There are two LicensingSettings.xml files, which are stored differently for server and workstation configurations. These two files should always be synchronous with each other.
In case the license service and an application are/were based on the same machine with their parameters managed manually, two storage should be updated:
(1) <%ProgramData%\ABBYY\FCSDK\12\Licenses> for a server where Licensing Service itself is running
(2) <Bin> folder of the FlexiCapture SDK library installation on the workstation(s).

This is also appliable for a configuration with licensing service and a workstation based on the same machine.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.