Licensing
The OtxDiagApi and NoneOtxDiagApi are equipped with a simple, offline licensing mechanism. To use the API a license key must be set by the user, see SetLicenseKey method. 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 OtxDiag 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
{
IOtxDiag otxDiag = OtxDiagFactory.CreateSocketOtxDiag(8888);
}
catch (Exception e)
{
}
}
Class for general utils.
Definition: opentestsystem.otxdiagmanager.systemapi/src/opentestsystem/otx/diagmanager/systemapi/Util.java:20
static void SetLicenseKey(int port, String licenseKey)
Sets a valid license key to active DiagManagerServer.
Definition: opentestsystem.otxdiagmanager.systemapi/src/opentestsystem/otx/diagmanager/systemapi/Util.java:91
Package containing all commands that are not standardized in OTX and are generally required,...
Package containing all objects for the communication to various, interchangeable diagnostic runtime s...
Package containing all objects which are standardized according to ISO 13209 (OTX)
Package containing all objects related to testing inside automotive industry.