ReleaseOnlineLicense Method of the Engine Object

This method is called to release an Online License along with the associated information. In case of success, it returns TRUE. Since ABBYY Online licensing service takes some time to process the request, the Online License is released within few seconds.

Important! This method is intended for those who have a limited number of concurrent users. Otherwise, you do not have to use it.

Syntax

C++

HRESULT ReleaseOnlineLicense(
  int                  OperationTimeout,
  VARIANT_BOOL*        Result 
);
    

C#

bool ReleaseOnlineLicense(
  int                  OperationTimeout
);
    

Visual Basic .NET

Function ReleaseOnlineLicense( _
  [OperationTimeout As Integer = 1] _
) As Boolean
    

Parameters

OperationTimeout
[in] Specifies the time allotted for the Online License release in seconds (1 second, by default). The time it takes to complete the operation depends on your network bandwidth. Therefore, if it is important for you to know that the Online License has definitely been released, specify this parameter for your convenience or call the ReleaseOnlineLicense method in a loop.
Result
[out, retval] This parameter returns TRUE if, within the allotted time, the process of releasing the Online License has been completed successfully. If the release process did not complete within the specified time and is in progress, this parameter returns FALSE.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Engine

24.03.2023 8:51:52

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.