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.
Visual Basic .NET
Sub SetCurrentLicense( _ TargetLicense As License, _ CustomerProjectId As String _ )
HRESULT SetCurrentLicense( ILicense* TargetLicense, BSTR CustomerProjectId );
- [in] This parameter refers to the License object representing the license. Any object from the IEngine::Licenses collection can be passed to this parameter.
- [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.
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.