PDF Xpress for .NET - User Guide > Licensing > Runtime Licensing > Automatically Reported Runtime (Node-Locked) > Licensing API |
The Licensing API is used in the developer’s code to specify Runtime Licensing deployment information. This is used to unlock the Accusoft products and enable all licensed features at runtime. Both the "Solution Name" and "Solution Key" values used in the API described below are provided by Accusoft, along with the License Configuration file, at the time of purchase of a Runtime License.
The solution name is the name assigned by Accusoft to the licenses purchased for runtime deployment. It is a character string that is set for a component prior to use in a deployment environment and is typically the name of the organization that purchased the runtime licenses. It is set via the SetSolutionName method of the component’s Licensing class. For example:
Copy Code
|
|
---|---|
PdfXpress pdf = new PdfXpress(); pdf.Licensing.SetSolutionName("ACMEImaging"); |
The Solution Name must be set in order to use runtime licensing.
The Solution Key is a set of four numbers assigned when the licenses are purchased for runtime deployment; the Solution Key also identifies the organization that purchased the runtime licenses. The Solution Key is set via the SetSolutionKey method of the component’s Licensing class. For example:
Copy Code
|
|
---|---|
PdfXpress pdf = new PdfXpress(); pdf.Licensing.SetSolutionName("ACMEImaging"); pdf.Licensing.SetSolutionKey(0x1C3A023F, 0xA018F260, 0x37AF0E51, 0x557F2389); |
The Solution Key must be set in order to use runtime licensing.