The Java and .NET APIs for LM-X are available to use from your Java/.NET application. LM-X's Java and .NET APIs deliver functionality equivalent to LM-X's C/C++ API and are consistent with all existing data structures.

Java API

The complete Java API code is enclosed in the com.xformation.lmx java package, which you can easily import into your project as a JAR archive library (liblmxjava.jar file).

Detailed Java API documentation is included with LM-X in a javadoc format that can be self-contained or integrated with IDE. You can view this documentation by opening the file index.html.

Example code that demonstrates how to use the Java API is included in the LM-X examples subdirectory.

.NET API

The supported languages for the .NET API include C++/CLI, C# and VB. The complete .NET API code is enclosed in the library liblmxnet.dll, which you can easily import into your project. The custom LicenseProvider (LmxLicenseProvider) and License (LmxLicense) classes have been implemented to make it easy to license controls and components using .NET methods with LM-X.

Detailed .NET API documentation is included with LM-X in a doxygen format, which you can see by opening the file index.html.  

Example code that demonstrates how to use the .NET API is included in the LM-X examples subdirectory.

Using the API for .NET 5.0 and newer

When using .NET 5.0 and newer and publishing a single executable file, you must ensure that all necessary content is bundled correctly in the single file by enabling the IncludeAllContentForSelfExtract option in your csproj file, as shown below.

<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>