Ironpdf License Key Jun 2026

For Console Applications, Windows Forms, or WPF apps, you can set the license key in your code. It is best practice to call this method at the very start of your application (e.g., inside Main() or the Form constructor).

A: Licenses start at $799 USD (Lite plan) for a perpetual license—buy once, use forever. Optional annual support and updates are available but never required.

This comprehensive guide will explain everything you need to know about the IronPDF license key. We’ll explore the available licensing models and pricing, walk you through how to get a license key, demonstrate various methods for activation across .NET and Python, show you how to verify it’s working, and provide solutions to common troubleshooting issues.

com.ironsoftware.ironpdf.License.setLicenseKey("YOUR-LICENSE-KEY"); ironpdf license key

For legacy applications, add the key under the section:

Even with a valid key, you might occasionally encounter issues. Here are the most common problems and their solutions.

using IronPdf; class Program static void Main(string[] args) // Apply your IronPDF license key here License.LicenseKey = "IRONPDF-YOUR-LICENSE-KEY-HERE"; // Your PDF generation logic goes below var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf(" For Console Applications, Windows Forms, or WPF apps,

// Now you can use IronPDF var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("<h1>Hello, PDF!</h1>"); pdf.SaveAs("output.pdf");

For the most up-to-date licensing options, pricing, and details, always refer to the official IronPDF Licensing page or contact the Iron Software sales team for enterprise needs. With a valid key in place, you can confidently build and deploy robust, watermark-free PDF solutions for your .NET and Python projects.

using IronPdf; class Program static void Main() // Apply the license key globally License.LicenseKey = "IRONPDF-YOUR-LICENSE-KEY-HERE"; // Validate that the key has been successfully applied if (License.IsValidLicense("IRONPDF-YOUR-LICENSE-KEY-HERE")) Console.WriteLine("IronPDF License is active."); Use code with caution. Method 4: Environment Variables (Cross-Platform) Optional annual support and updates are available but

For more information, visit the IronPDF Licensing Documentation.

var config = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .Build();

using IronPdf; namespace MyWebApplication public class Program public static void Main(string[] args) // Apply your IronPDF license key here License.LicenseKey = "IRONPDF-YOUR-LICENSE-KEY-HERE"; // Your application startup code continues below Use code with caution. Method 2: Using the appsettings.json File (.NET Core / 5+)