LEAD offers a variety of features (such as Document support, Medical support, Vector support, etc.), which are only available in certain toolkits and are locked. To use these features you must:
- Purchase a development license for the toolkit or desired add-on that supports the desired feature(s).
- Complete the Deployment License Application form. For information on deployment agreements, go to LEADTOOLS Software License Agreement.
- Purchase any necessary deployment licenses, and if applicable, complete and sign a Commercial Distribution License. The signed document may be scanned as a PDF file and sent to licensing@leadtools.com or sent via fax to 704-372-8139. (To obtain a copy of the Commercial Distribution License for your product(s) contact sales@leadtools.com.)
- If prepaid licenses are desired, include the order form with payment information. You can send this along with the deployment agreement. (To get a copy of the order form, contact licensing@leadtools.com.)
- After we have received the Deployment License Application form and, if applicable, the Commercial Distribution License, we will send the key(s) necessary for unlocking the appropriate features along with instructions for eliminating the license dialogs.
- When you receive the instructions and the key(s), call the RasterSupport.SetLicense with the appropriate key to unlock special features for the toolkit.
NOTE: The call to
RasterSupport.SetLicense should be placed at the startup of the application and does not unlock the machine for use afterwards. This is required for each instance of the application that is executed. If your application spawns other processes that also use LEADTOOLS, those processes must make their own call to RasterSupport.SetLicense.
NOTE: Server applications require a server license, and may require license activation. For more information see
Activating License Server.
To determine whether a certain feature is locked, call the RasterSupport.IsLocked method.
WCF Support
Unlocking support for optional features, such as LEADTOOLS Document/Medical capabilities, is accomplished using the following configuration files:
- Leadtools.Services.Forms.ServiceImplementations.dll.config
- Leadtools.Services.ImageProcessing.ServiceImplementations.dll.config
- Leadtools.Services.Raster.ServiceImplementations.dll.config
- Leadtools.Services.Forms.ServiceImplementations.dll.config
Each configuration file contains an element where you specify the location of the license file and your developer key. You need to fill these elements in order to set your runtime license and unlock features. For example, the Leadtools.Services.Raster.ServiceImplementations.dll.config contains the following section:
<setting name = "LicenseFile" serializeAs="String">
<value>DeveloperKey</value>