The "proper story" of the IronPDF license key is a transition from a watermark-only trial to a strict, key-required system that allows developers to test functionality before committing to a commercial license. How the Licensing Works
IronPDF previously allowed free use for development with a watermark, but starting from version 2024.1.20, a valid license key (even a free trial key) is required to run the library in any project. Without one, the library will throw a LicensingException.
Free for Development: You can request a 30-day free trial key from the IronPDF Licensing Page to test the full version without watermarks. ironpdf license key
Format: The key is a long string that typically encodes its expiration date (e.g., IRONPDF-MYKEY-EXPIRES.01.JAN.2050).
Key Function: Adding a valid key removes the "Powered by Iron Software" watermark and unlocks advanced features like digital signatures and high-speed Chrome rendering. How to Apply the Key The "proper story" of the IronPDF license key
The key must be set before any IronPDF functions are called in your code. In Code (C#/.NET): IronPdf.License.LicenseKey = "YOUR-LICENSE-KEY"; Use code with caution. Copied to clipboard In Configuration Files: appsettings.json: Add a field named "IronPdf.LicenseKey". Web.config: Add a key to the section. License Tiers and Options Setting License Key in Web.config - IronPDF
Activation: The process of activating IronPDF typically involves adding the license key to your code. The exact method can vary but often involves a simple string or a license object that you create and pass to the IronPDF API. Activation : The process of activating IronPDF typically
Usage: After activation, you can use IronPDF in your .NET applications to create, read, and edit PDF documents. The library supports a wide range of features, including HTML to PDF conversion, PDF manipulation, and more.
Store keys in secrets manager, not source control.
✅ Good:
License.LicenseKey = Environment.GetEnvironmentVariable("IRONPDF_KEY");
❌ Bad:
License.LicenseKey = "abc123-xyz"; // Hardcoded