The OTX-Runtime API is equipped with a simple, offline licensing mechanism. To use the API a license key must be set by the user, see SetLicenseKey method. Without a valid license key no RuntimeManager can be created. The license key has the format "XXXX-XXXX-XXXX-XXXX-XXXX". The license key contains the following informations:
- LicenseId The license ID is a unique number that identifies the license owner.
- ProductId The product ID is a unique number that identifies the product.
- ExpirationDate (Optional) The optional expiration date can be used for time limited licenses, e.g. evaluation license. After the expiration date expires, no RuntimeManager can be created
Important: The license key must be set before an instance is created!
Important: The software is copyrighted and shall not be used without a valid license key!
Code Example
The following pseudo code shows how the license manager can be used.
void main()
{
try
{
IRuntimeManager runtimeManager = RuntimeManagerFactory.CreateSocketRuntimeManager(8889, 8888);
}
catch (Exception e)
{
}
}
Class to manage the OTX-Runtime API licenses
Definition: LicenseManager.h:27
static void SetLicenseKey(const std::string &licenseKey)
Sets a valid license key to release the API.
Namespace containing all objects related to licensing
Definition: LicenseManager.h:22
Namespace containing the programming interface for browsing and execution of OTX procedures in own ap...
Definition: ClampState.h:7
Namespace containing all objects for browsing and execution of OTX procedures
Definition: ClampState.h:6
Namespace containing all objects which are standardized according to ISO 13209 (OTX)
Namespace containing all objects related to testing inside automotive industry