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 toolkit that supports the desired feature(s).
- Obtain the applicable deployment agreement from LEAD Licensing Department. For information on the deployment agreements, go to LEADTOOLS Software License Agreement.
- Complete the deployment license agreement and fax or email it to LEAD's Licensing Department at 704-372-8139 / licensing@leadtools.com.
- Purchase at least one (1) deployment license. If prepaid licenses are desired, include the order form with payment information. You can fax/email this along with the deployment agreement. (To get a copy of the order form, contact licensing@leadtools.com.)
- Once LEAD has received the signed agreement, we will send you your unique license file, developer key and instructions for eliminating the license dialogs and unlocking the appropriate features.
- When you have received the instructions, license file and developer key call the RasterSupport.SetLicense.
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.
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>