Click or drag to resize

Licensing

A unique license key string is generated for each purchase. In order to unlock the ExpertXls Excel Spreadsheet Library for .NET product you have to set the LicenseKey property of the ExcelWorkbook class with the license key string you have received after the product purchase, before saving the Excel workbook.

The license key contains the information about the purchased product like the product version and license type and is uniquely associated with an order ID. More details about the license types and pricing can be found on the ExpertXls page on our website.

Code Samples

Here is how the license key has to be set in code:

// create a new workbook
ExcelWorkbook workbook = new ExcelWorkbook(ExcelWorkbookFormat.Xlsx_2007);

// set license key
workbook.LicenseKey = "your license key here";

// save the workbook
workbook.Save("test.xlsx");