TwainPRO 9 for ActiveX - User Guide > Getting Started > Upgrading Runtime Licensing |
This section describes how to upgrade to Accusoft's new Runtime Licensing.
Prior to TwainPRO 7, runtime licensing was accomplished using the UnlockRuntime method.
In TwainPRO 7 and later, the default licensing model is Automatically Reported Runtime Licensing. However, based on your contracted usage of this software, you may be eligible for Manually Reported Runtime Licensing. Your Accusoft Sales Representative (sales@accusoft.com) can help you determine which model is appropriate.
Refer to the following sections for information about upgrading to the new Runtime Licensing models:
Automatically Reported Runtime Licensing requires a license to be installed on the end-user's machine. See the Licensing section for more information. |
In your TwainPRO 6 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.
C++ |
Copy Code
|
---|---|
TwainPro1->UnlockRuntime(12345,12345,12345,12345); |
VB6 |
Copy Code
|
---|---|
TwainPro1.UnlockRuntime 12345,12345,12345,12345 |
JavaScript |
Copy Code
|
---|---|
TwainPro1.UnlockWeb("ServerLicenseString…");
|
In your TwainPRO 7 or later codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName and SetSolutionKey methods.
C++ |
Copy Code
|
---|---|
TwainPro1->SetSolutionName("YourSolutionName");
TwainPro1->SetSolutionKey(12345,12345,12345,12345);
|
VB6 |
Copy Code
|
---|---|
TwainPro1.SetSolutionName "YourSolutionName"
TwainPro1.SetSolutionKey 12345,12345,12345,12345
|
JavaScript |
Copy Code
|
---|---|
TwainPro1.SetSolutionName("YourSolutionName");
TwainPro1.SetSolutionKey(12345,12345,12345,12345);
|
In your TwainPRO 6 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.
C++ |
Copy Code
|
---|---|
TwainPro1->UnlockRuntime(12345,12345,12345,12345); |
VB6 |
Copy Code
|
---|---|
TwainPro1.UnlockRuntime 12345,12345,12345,12345 |
JavaScript |
Copy Code
|
---|---|
TwainPro1.UnlockWeb("ServerLicenseString…");
|
In your TwainPRO 7 or later codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName, SetSolutionKey, and SetOEMLicenseKey methods.
C++ |
Copy Code
|
---|---|
TwainPro1->SetSolutionName("YourSolutionName"); TwainPro1->SetSolutionKey(12345,12345,12345,12345); TwainPro1->SetOEMLicenseKey("1.0.AStringForOEMLicensing…"); |
VB6 |
Copy Code
|
---|---|
TwainPro1.SetSolutionName "YourSolutionName" TwainPro1.SetSolutionKey 12345,12345,12345,12345 TwainPro1.SetOEMLicenseKey "1.0.AStringForOEMLicensing…" |
JavaScript |
Copy Code
|
---|---|
TwainPro1.SetSolutionName("YourSolutionName"); TwainPro1.SetSolutionKey(12345,12345,12345,12345); TwainPro1.SetOEMLicenseKey("1.0.AStringForOEMLicensing…"); |
There is no longer a separate method for web licensing. That functionality has been integrated into the SetOEMLicenseKey method.
If you encounter any porting issues, please contact support@accusoft.com for assistance. |