PDFOne .NET
Powerful all-in-one PDF library for .NET
Compatibility
VS 2008 VS 2005 CLR 2.0

Key To PDFOne .NET Deployment (No Pun Intended)

Learn to deploy your PDFOne .NET applications without compromising your license key.
By Raju Sinha

We get a lot of queries regarding PDFOne .NET deployment such as the one below.

What are the requirements for deploying the pdfone to my web server? Are there any other files than the two .dll files [DevelopDotNet.Compression.dll and Gnostice.PDFOne.dll] required?

Well, there is one - the licenses.licx file. In this article, we will learn more about this file and why it is important in the deployment of your PDFOne .NET applications.

PDFOne .NET will accept your license key if you provide it in the following ways:

  1. Drag-and-drop the PDFDocument component from toolbox to a form in Visual Studio. A popup will open and prompt for the license key.
  2. Use the license key as an argument to a PDFDocument object constructor.
  3. Provide the key in the popup presented by the DLL at run-time.

The last two methods are good only for development. For deployment, we suggest the first method. Why?

The drag-and-drop method creates the file called licenses.licx, which contains only a public token of the PDFOne .NET DLL. (Usually, such files are not visible in the Solution Explorer and so you need to click on the Show All Files button to make them visible.)

The other two methods create a file called Gnostice.PDFOne.PDFDocument.lic that contains your unencrypted license key!

The next thing to ensure in deployment is to include the licenses.licx in your project as an "embedded resource." For this, right-click the licenses.licx in Solutions Explorer and select Include In Project on the context menu.

Next, select the file and change the Build Action property in the Properties panel to Embedded Resource.

Last but not the least, we feel we need to repeat this note from the help file:

DO NOT DISTRIBUTE the Gnostice.PDFOne.PDFDocument.lic file under any circumstance.

---o0O0o---

Our Developer Tools
eDocEngine VCL

A Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools.

PDFtoolkit VCL

A Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents.

XtremePDFConverter VCL

A Delphi/C++Builder component to intelligently convert PDF to user-friendly Word RTF documents.

PDFOne .NET

A .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications.

XtremeDocumentStudio .NET

Multi-format document-processing component suite for .NET developers

PDFOne (for Java™)

A Java™ PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java™ applications.

XtremeFontEngine (for Java)

Java font engine to render glyphs from Type 1, Type 2 (CFF), and TrueType fonts

Our Office Productivity Applications
Free PDF Reader

A free, fast, and portable application for viewing, printing and converting PDF documents.

Privacy | Legal | Feedback | Newsletter | Resellers © 2002-2013 Gnostice Information Technologies Private Limited. All rights reserved.

This site is best viewed on a screen with minimum resolution of 1152 x 864 pixels. Windows XP users are advised to use Microsoft ClearType Tuning for optimal experience. Also, please use the latest version of a standards-compliant browser such as Firefox, Opera, or Dragon (Chromium).