IRONSOFTWAREHOME

Using IronBarcode License Keys

Curtis Chau
Curtis Chau
Updated: August 2, 2026

How to Get a License Key

Adding an IronBarcode license key allows you to deploy your project live without restrictions or watermarks.

You can buy a license key or sign up for a free 30-day trial key here.


Step 1: Download the Latest Version of IronBarcode

Install via NuGet

Before we start, we need to install the latest version of the Barcode NuGet Package.

PM > Install-Package BarCode

You can find more information about the NuGet package here.

Install via DLL

As an alternative, the IronBarcode.dll could also be downloaded and added to your project.


Step 2: Apply Your License Key

Set your license using code

Add this code somewhere in the startup of your application, before IronBarcode is used.

// Apply your IronBarcode license key
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01";

Set your license using 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="IRONBARCODE-MYLICENSE-KEY-1EF01"/>
  </appSettings>
  ...
</configuration>
XML

There is a known licensing issue between IronBarcode versions 2023.4.1 - 2024.3.2 with the following frameworks:

  • ASP.NET projects
  • .NET Framework version >= 4.6.2

The key stored in a Web.config file is NOT being picked up and used by the product. Visit the Setting License Key in Web.config troubleshooting article to learn more.


Set your license key using a .NET Core appsettings.json file

To apply a key globally to your application in a .NET Core project:

  • Add a JSON file to your project called appsettings.json in the root directory of your project.
  • Add a IronBarCode.LicenseKey key to your JSON config file. The value should be your license key.
  • Ensure that the file properties include Copy to Output Directory: Copy always.

File: appsettings.json

{
  "IronBarCode.LicenseKey": "IRONBARCODE-MYLICENSE-KEY-1EF01"
}
JSON

Step 3: Test your key

Test if your key has been installed correctly.

// Verify if the provided license key is valid
bool result = IronBarCode.License.IsValidLicense("IRONBARCODE-MYLICENSE-KEY-1EF01");

// Check if IronBarCode is licensed successfully
bool is_licensed = IronBarCode.License.IsLicensed;

Step 4: Get started with your project

Follow our tutorial on how to Get Started with IronBarcode.


Questions?

If you have any questions, reach out to support@ironsoftware.com

Frequently Asked Questions

How do I obtain a license key for IronBarcode?

You can buy a license key directly from the IronBarcode website or sign up for a free 30-day trial to obtain a temporary key.

How can I install IronBarcode in my project?

IronBarcode can be installed via the NuGet Package Manager or by downloading the IronBarcode.dll file and adding it manually to your project.

How do I apply a license key in IronBarcode using code?

To apply a license key in IronBarcode, add the following code to your application's startup: `IronBarCode.License.LicenseKey = "YOUR-LICENSE-KEY";`

Can I set the IronBarcode license key using the Web.Config or App.Config files?

Yes, you can set the license key by adding a key-value pair in your Web.Config or App.Config under the appSettings section.

Is there a known issue with setting the license key in Web.config for certain IronBarcode versions?

Yes, there is a known issue with ASP.NET projects and .NET Framework version >= 4.6.2 where the key in Web.config is not picked up, affecting IronBarcode versions from 2023.4.1 to 2024.3.2.

How do I configure the IronBarcode license key in a .NET Core app?

Create an `appsettings.json` file in your project root, add the `IronBarCode.LicenseKey` key, and set its value to your license key. Ensure this file is set to always copy to the output directory.

How can I verify if my IronBarcode license key is valid?

Use the method `IronBarCode.License.IsValidLicense("YOUR-LICENSE-KEY")` to verify if the provided key is valid in your application.

What steps should I take if IronBarcode is not showing as licensed?

Ensure that the license key is correctly set in your application and check for any known issues as documented on the Iron Software website.

Where can I get more help with IronBarcode license key issues?

For additional assistance, you can reach out to Iron Software support at support@ironsoftware.com, or visit their troubleshooting articles for more information.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 2,422,100Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package BarCode
nuget.org/packages/BarCode/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronBarCode"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

  1. Download and unzip IronBarCode to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronBarCode.dll"

Licenses from $999

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required