Apply a license key in IronXL

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

IRONXL-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.

IronXL.License.LicenseKey = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050";

For more options, including web.config and appsettings.json, please see this FAQ page for more information:

https://ironsoftware.com/csharp/excel/how-to/license-keys/