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
8/15/2023 1:19:30 PM