LEADTOOLS Support
General
LEADTOOLS SDK Examples
FAQ: Why am I getting "Invalid Parameter Passed" with RasterSupport.SetLicense()/L_SetLice
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, October 28, 2011 8:06:25 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
When unlocking support with the toolkit, you'll need to call either
RasterSupport.SetLicense() [.NET] or
L_SetLicenseFile()/L_SetLicenseBuffer(). If you pass two strings with the paths to the license file and developer key file, you will see an "Invalid Parameter Passed" exception/return code.
Note that the files provided to you are designed to be a public/private key pair. You'll need to deploy the license file (public key), while the developer key (private key) cannot be deployed. To use the developer key, you should
copy the contents of the KEY file into your application. This way the key will be embedded directly into your EXE and stays private to the developer.
For an example of how to use RasterSupport.SetLicense(), please see
this post.
Edited by user Monday, June 19, 2017 12:00:22 PM(UTC)
| Reason: Fixed hyperlink
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
LEADTOOLS SDK Examples
FAQ: Why am I getting "Invalid Parameter Passed" with RasterSupport.SetLicense()/L_SetLice
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.