SetCurrentLicense Method of the Engine Object

This method sets the current license.

Important! All the ABBYY FlexiCapture SDK objects which were in use before this method call become invalid (except the current Engine object and the License object, which was passed to this method). The only thing that you can do with these objects is to call Release method for them.

Syntax

Visual Basic .NET

Sub SetCurrentLicense( _
  TargetLicense As License, _
  CustomerProjectId As String _
)
    

C++

HRESULT SetCurrentLicense(
  ILicense* TargetLicense,
  BSTR      CustomerProjectId
);
    

Parameters

TargetLicense
[in] This parameter refers to the License object representing the license. Any object from the IEngine::Licenses collection can be passed to this parameter.
CustomerProjectId
[in] This variable contains Customer Project ID number that matches the necessary license. Customer Project ID is an alphanumeric string shared by all the Developer and Runtime licenses in one project.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Engine

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.