OTX-Runtime Converter  
Licensing

The OTX-Runtime Converter 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 RuntimeConverter can be created. The license key has the format "XXXX-XXXX-XXXX-XXXX-XXXX". The license key contains the following informations:

  1. LicenseId The license ID is a unique number that identifies the license owner.
  2. ProductId The product ID is a unique number that identifies the product.
  3. ExpirationDate (Optional) The optional expiration date can be used for time limited licenses, e.g. evaluation license. After the expiration date expires, no RuntimeConverter can be 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.

// Pseudo-Code example to use license manager
// ==========================================
void main()
{
// Release the license manager
try
{
// If no valid license key was set, no RuntimeConverter can be created and an InvalidLicenseException is thrown.
// ...
}
catch (Exception e)
{
throw new Exception(e);
}
}
OpenTestSystem.Otx.RuntimeConverter.Api.RuntimeConverterFactory.CreateSocketRuntimeConverter
static IRuntimeConverter CreateSocketRuntimeConverter(ushort port)
Creates a Socket Runtime Converter instance.
Definition: RuntimeConverterFactory.cs:36
OpenTestSystem.Otx.RuntimeConverter.Api.IRuntimeConverter
Represents a checker and a compiler.
Definition: IRuntimeConverter.cs:35
OpenTestSystem.Otx.RuntimeConverter.Api.License.LicenseManager
Class to manage the OTX-Runtime Converter licenses.
Definition: LicenseManager.cs:21
OpenTestSystem.Otx.RuntimeConverter.Api
Namespace containing the programming interface for for validation and compilation of PTX,...
Definition: Config.cs:8
OpenTestSystem.Otx.RuntimeConverter.Api.License
Namespace containing all objects related to licensing
Definition: LicenseManager.cs:16
OpenTestSystem.Otx.RuntimeConverter.Api.RuntimeConverterFactory
Factory class for creating RuntimeConverter, see IRuntimeConverter
Definition: RuntimeConverterFactory.cs:16
OpenTestSystem.Otx
Namespace containing all objects which are standardized according to ISO 13209 (OTX)
OpenTestSystem.Otx.RuntimeConverter
Namespace containing all objects for validation and compilation of PTX, PPX, PROJECT
Definition: Config.cs:8
OpenTestSystem.Otx.RuntimeConverter.Api.License.LicenseManager.SetLicenseKey
static void SetLicenseKey(string licenseKey)
Sets a valid license key to release the API.
Definition: LicenseManager.cs:47
OpenTestSystem
Namespace containing all objects related to testing inside automotive industry