Applying an is required to unlock full functionality and remove evaluation watermarks when using the robust IronPDF library for C#, .NET, Python, or Java. Whether you are a developer looking to integrate HTML-to-PDF generation or a DevOps manager handling deployment, understanding how to securely obtain, apply, and manage your license key is essential. Understanding IronPDF Licensing
Additional options:
var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("<h1>Test License</h1>"); pdf.SaveAs("test.pdf");
The most robust way to activate IronPDF is to set the LicenseKey property at the very start of your application (usually in Program.cs or Global.asax ). C# / .NET Implementation
IronPDF automatically scans your system environment variables and applies the key at runtime if it is present. 4. Troubleshooting License Key Issues
If a developer leaves your team, you can invalidate their key from the Iron Software account portal and generate a new one.
: If you receive this error, ensure there are no leading or trailing spaces in your key string and that it has not expired.