If you prefer not to hardcode your key, you can use your project's configuration files: Applying Software License Keys | IronPDF .NET 10
For production environments, you must purchase a commercial key. Navigate to the IronPDF Pricing page. ironpdf license key
When deploying to isolated environments like Linux containers or Azure Web Apps, configuration files might not be read correctly due to path differences. Switch to using the method to ensure global system access to the key. Best Practices for License Key Security If you prefer not to hardcode your key,
if (!IronPdf.License.IsValidLicense())