Applying Software License Keys

Using IronXL License Keys

If you decide to purchase a license for IronXL, you will instantly receive a license key as soon as your payment has cleared. This License will be displayed on the checkout completion screen and also be sent by email.

Setting the IronXL license key inside your code

Add this code to the startup of your application, your before IronXL is used.

IronBarcode.License.LicenseKey = "IRONXL-MYLICENSE-KEY-1EF01";
IronBarcode.License.LicenseKey = "IRONXL-MYLICENSE-KEY-1EF01"
VB   C#

Setting a key in your Web.Config or App.Config

To apply a key globally to your application using Web.Config or App.Config, add the following key to your config file in appSettings.

<configuration>
   ....
   <appSettings>
      <add key="IronBarcode.LicenseKey" value="IRONXL-MYLICENSE-KEY-1EF01"/>
   </appSettings>
   ....
</configuration>

To test if your key has been installed correctly

bool result = IronXL.License.IsValidLicense("IRONXL-MYLICENSE-KEY-1EF01");
Dim result As Boolean = IronXL.License.IsValidLicense("IRONXL-MYLICENSE-KEY-1EF01")
VB   C#