Apply a License Key in IronBarcode

This article was translated from English: Does it need improvement?
Translated
View the article in English

The license key is a long string that includes an expiration date, marking the end of support. The license is perpetual, meaning you can continue using it for versions released before this date. Please ensure it is copied correctly, without any spaces.

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

// Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
// Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
' Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050"
$vbLabelText   $csharpLabel

For more options, including web.config, app.config, and appsettings.json, please refer to the following article for more information: Using IronBarcode License Keys.

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 1,935,276 | Versión: 2025.11 recién lanzado