How to Apply a License Key in IronOCR

The license key is a long string that ends with an expiry date. Please ensure this is copied correctly, with no spaces.

IRONOCR-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050

The most robust method of applying a license key is directly in your code, before the library is called.

// Set the license key for IronOCR before using the library
IronOcr.Installation.LicenseKey = "IRONOCR-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050";
// Set the license key for IronOCR before using the library
IronOcr.Installation.LicenseKey = "IRONOCR-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050";
' Set the license key for IronOCR before using the library
IronOcr.Installation.LicenseKey = "IRONOCR-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
$vbLabelText   $csharpLabel

For more options, including setting the license key in web.config and appsettings.json, please see this FAQ page for more information:

IronOCR License Keys FAQ

Chaknith Bin
Software Engineer
Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience.
Talk to an Expert Five Star Trust Score Rating

Ready to Get Started?

Nuget Passed