|
Registration Key |
Top Previous Next |
|
A registration key is required to activate an n2pdf license. This registration key and your license certificate are included with the purchase of n2pdf. The n2pdf license is restricted to an individual, so that the registration key will only work in conjunction with the Notes user name (Notes user ID) for which the license was issued. You have to enter your user name and the registration key while running the installation program to install n2pdf. The registration key is saved as a default in the "n2pdf.ini" file located in the program directory.
Note: A special n2pdf license, i.e. a unique registration key, is required for installation on a Notes Server. This registration key is restricted to the server and cannot be used on a client.
Registration Key Components The key consists of a total of 22 characters organized as follows:
Example: N2 - 32 - 01234567890ABCEF
Note: Please check for accuracy when entering the key. The characters are not case sensitive.
User Name The Notes user name, or server name in the case of a server license, is needed for validating the registration key. The name of the user currently signed on, or the server, is needed for validation when operating n2pdf. No special configuration is needed in n2pdf to do this.
Saving the Key In a default installation, the registration key is saved in the "n2pdf.ini" configuration file. This configuration file exists as an ASCII file and is set up as a standard Windows INI file. The registration key is located in the following section of the INI file:
[RegKey] Key=N2-32-01234567890ABCEF
Changing the Key Storage You can use script programming to change the n2pdf key's storage location. Two options are available:
1. Specify a key file 2. Set key directly
1. Specify a key file By using the command N2PDFSetKeyFileName you can designate a file that contains the registration key. This file must be set up as in the section "Saving the Key". Once the file name has been set, the file will be used for licensing purposes for the duration of the key.
2.Set key directly The registration key can be set directly to n2pdf using the command N2PDFSetKey. The key must be entered in its entire length, including the dashes.
Example: Call N2PDFSetKey ( "N2-10-01234567890ABCEF" )
Key Check Sequence Because n2pdf offers many ways of assigning the key, an order of priority must be established for using the key. The following shows the order of the checks.
N2PDFSetKey -> N2PDFSetKeyFileName -> Setup file (INI file) -> error message |