Ironpdf License Key Jun 2026
For ASP.NET projects, the most robust method is adding the key to your configuration file. This ensures the key is loaded globally when the application starts.
using IronPdf;
: Add to .
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. ironpdf license key
using IronPdf; class Program static void Main(string[] args) // Apply the license key globally License.LicenseKey = "IRONPDF-YOUR-LICENSE-KEY-HERE"; // Verify if the license is successfully applied if (License.IsLicensed) Console.WriteLine("IronPDF is successfully licensed!"); Use code with caution. ❓ Troubleshooting Common License Key Issues
Set the key at the entry point of your application—whether it’s Main() , Startup.cs , or the top of your script. Placing the key after PDF operations have already started will have no effect on those earlier calls.
IronPDF offers several license tiers. Your key encodes these limits: For ASP
License.LicenseKey = Environment.GetEnvironmentVariable("IRONPDF_KEY");
If the watermark persists despite setting the key:
It depends on your license tier. The "Lite" license is usually for a single developer (one machine). "Professional" and "Unlimited" allow multiple developers. Using one key on ten machines for Lite is a violation of the EULA and will likely trigger a lock. This public link is valid for 7 days
For CI/CD or cloud deployments:
Ensure License.LicenseKey is set before any PDF generation logic runs.