AspPDF.NET requires a registration key
even for evaluation purposes. A free 30-day evaluation key
is sent to the evaluator via email.
Request your key at the Download page.
Once a copy of the product is purchased, a permanent registration key is sent to the
customer.
Registration keys used by AspPDF.NET are 76-character strings
containing symbols from the Base64 character set. Each key has
the issue and expiration date information embedded into it securely.
A typical AspPDF.NET registration key looks as follows:
GYlbc3g5Th3Y30WwhEkqReuk03hT/1hsJtbZkwLx51ZpX7CCQz3vZ4kEqj0HzVgRE9NC3zNJ5kD9
Note: The AspPDF and AspPDF.NET keys are not compatible with each other.
Do not attempt to use your existing AspPDF key with AspPDF.NET, or vice versa.
Once a key is obtained, it should be placed in the appSettings section of your application's
.config file, as follows:
<configuration>
<appSettings>
<add key="AspPDF_RegKey" value="GYlbc3g5Th3Y30WwhEkqReuk03hT/1hsJt...3zNJ5kD9"/>
</appSettings>
...
</configuration>
Alternatively, the registration key can be specified in your code via the RegKey
property of the top-level PdfManager object, as follows:
PdfManager objPDF = new PdfManager();
objPDF.RegKey = "GYlbc3g5Th3Y30WwhEkqReuk03hT/1hsJtbZkwLx51ZpX7CCQz3vZ4kEqj0HzVgRE9NC3zNJ5kD9";
...
The current expiration date of the key can be retrieved via the Expires
property, as follows:
PdfManager objPDF = new PdfManager();
Response.Write( objPDF.Expires );
If the Expires property returns 9/9/9999 it means a permanent registration key is being used.
This property throws an exception if the key cannot be found, or is invalid.