An IronPDF license key is a unique alphanumeric code that unlocks the full potential of the IronPDF software library, transitioning it from a trial or free edition to a fully licensed production environment. For developers and enterprises utilizing IronPDF for PDF generation, editing, and manipulation within .NET applications, applying a valid license key is a mandatory step to ensure legal compliance and operational continuity.
Free License: IronPDF offers a free license that allows you to test the product. This usually comes with limitations, such as watermarks on generated PDFs or limited usage.
After setting the key, you can verify that it is working:
Never commit your license key to public repositories (GitHub, GitLab). Use secrets managers or environment variables.
Fix: Purchase additional developer seats. Or ensure only one developer's machine runs the code during build.
License.LicenseKey = Environment.GetEnvironmentVariable("IRONPDF_KEY");
Add the following section to your Web.config or App.config: