If you do not have a deployment license file and a developer key, refer to Obtaining a License.
These instructions apply to both evaluation and deployment LEADTOOLS license files and developer key files. Once you have obtained your developer key file and license file, use the appropriate license function for your development environment and target platform.
Platform | Function |
---|---|
C DLL | L_SetLicenseFile |
C++ Class Library | LSettings::SetLicenseFile |
.NET / Java | RasterSupport.SetLicense |
JavaScript/TypeScript | RasterSupport - JavaScript |
Objective C and Swift for MacOS | Setting the iOS License in your Xcode Project |
Java for Android | Setting your License with LEADTOOLS for Android Getting Started with LEADTOOLS for Android |
If it is included in your LEADTOOLS deployment license, and is available for the target platform, the Media Raster feature known as DVD Burner in the Multimedia toolkits is unlocked with any of the above methods.
Check that the license was set successfully for non-Multimedia features by using the appropriate function for your development environment. Ensure the returned value is not "Nag" or "Evaluation":
Platform | Function |
---|---|
C DLL | L_VersionInfo |
C++ Class Library | LBase::VersionInfo |
.NET / Java | RasterSupport.KernelType |
To determine whether a specific feature is enabled after setting a deployment license, call the appropriate function for your development environment:
Platform | Function |
---|---|
C DLL | L_IsSupportLocked |
C++ Class Library | LSettings::IsSupportLocked |
.NET / Objective C / Java | RasterSupport.IsLocked |
Unlike LEADTOOLS Medical, Document, and Imaging products, LEADTOOLS Multimedia products use license keys instead of a deployment license file/developer key combination to unlock specific multimedia DirectShow and Media Foundation filters. These keys will be sent to you by licensing@leadtools.com after appropriate deployment licensing is in place. Until then, the LEADTOOLS DirectShow and Media Foundation filters are available in evaluation mode. For more information, refer to LEAD DirectShow and Media Foundation Evaluation Mechanism.
Platform | Function |
---|---|
C DLL (C / C++ / VB6) | ILMDSKernel2::UnlockModule |
.NET (C# / VB) | MultimediaSupport.UnlockModule |
After obtaining a developer key file and license file, refer LEADTOOLS SDK Getting Started Tutorials Help for a tutorial platform-specific to the one your project is using.
If you prefer to use a project as a guide that is already set with a license key, download one from Tutorials. In the project itself, you will need to set a Deployment License.
For more information on additional LEADTOOLS Products and Features, refer to the following resources: