Setting a Runtime License

Perform the following steps to use the ltmsLicenseManager Object to set a runtime license: 

1.

Obtain a license file and key from LEAD Technologies, Inc.

2.

(Optional) Embed the license and key in the application as string data. You may use them in external files, but it is best to copy the data to internal strings before production builds.

3.

Create an instance of the  ltmsLicenseManager Object, acquiring the IltmsLicenseManager Interface.

4.

Apply the license and key by calling IltmsLicenseManager::SetLicense

5.

It is best to hold an outstanding reference count to IltmsLicenseManager for the duration of your application, in order to prevent the library from being unloaded.

The ltmsLicenseManager Object will automatically use the ILMDSKernel2 object to unlock the necessary LEADTOOLS Multimedia filters and codecs. For more information, refer to Using the DSKernel Object.

See also the License Holder Example for C++

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help