PDF Xpress for .NET - User Guide > Getting Started > Upgrading Runtime Licensing |
This section describes how to upgrade to Accusoft's new Runtime Licensing.
Prior to PDF Xpress 5, runtime licensing was accomplished using the UnlockRuntime method.
In PDF Xpress 5 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 PDF Xpress 4 codebase, find any existing calls to the UnlockRuntime method.
C# |
Copy Code
|
---|---|
pdf.Licensing.UnlockRuntime(12345,12345,12345,12345); |
VB.NET |
Copy Code
|
---|---|
pdf.Licensing.UnlockRuntime(12345,12345,12345,12345) |
In your PDF Xpress 5 or later codebase, replace the UnlockRuntime method with calls to the SetSolutionName and SetSolutionKey methods.
C# |
Copy Code
|
---|---|
pdf.Licensing.SetSolutionName("YourSolutionName");
pdf.Licensing.SetSolutionKey(12345,12345,12345,12345);
|
VB.NET |
Copy Code
|
---|---|
pdf.Licensing.SetSolutionName("YourSolutionName")
pdf.Licensing.SetSolutionKey(12345,12345,12345,12345)
|
In your PDF Xpress 4 codebase, find any existing calls to the UnlockRuntime method.
C# |
Copy Code
|
---|---|
pdf.Licensing.UnlockRuntime(12345,12345,12345,12345); |
VB.NET |
Copy Code
|
---|---|
pdf.Licensing.UnlockRuntime(12345,12345,12345,12345) |
In your PDF Xpress 5 or later codebase, replace the UnlockRuntime method with calls to the SetSolutionName, SetSolutionKey, and SetOEMLicenseKey methods.
C# |
Copy Code
|
---|---|
pdf.Licensing.SetSolutionName("YourSolutionName"); pdf.Licensing.SetSolutionKey(12345,12345,12345,12345); pdf.Licensing.SetOEMLicenseKey("1.0.AStringForOEMLicensing…"); |
VB.NET |
Copy Code
|
---|---|
pdf.Licensing.SetSolutionName("YourSolutionName") pdf.Licensing.SetSolutionKey(12345,12345,12345,12345) pdf.Licensing.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. |