Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you’ve ever used .NET LicenseProvider for your licensing model, you probably know that the default implementations of this abstract class offer only basic features that are unlikely to satisfy today’s needs for security and flexibility. This is where LmxLicenseProvider can help you to make your licensing model more robust.

LmxLicenseProvider lets you use LM-X License Manager’s capabilities in your .NET  NET licensing model, providing solutions for existing or home-made implementations, such as automatic server discovery, license borrowing, redundant server capabilities, and many more LM-X features. In addition, the LM-X .NET API offers extensive functionality that you may find useful for modifying the behavior of LmxLicenseProvider.

The easiest and fastest way to integrate LmxLicenseProvider into your application is to compare the provided sample code, lmxtest_licenseprovider.cs, located under the dotnet examples directory in your LM-X distribution, with a clear example.

One such example, http://msdn.microsoft.com/en-us/library/system.componentmodel.licfilelicenseprovider.aspxshows you how to use LicFileLicenseProvider, one of the default implementations of LicenseProvider.

The blue lines in the example below show the changes you would make to LicFileLicenseProvider to integrate LmxLicenseProvider into your application. As the example shows, the basic steps for enabling the licensing schema for your component or control class are:

...