How to Apply a License Key in IronWebScraper

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

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

IRONWEBSCRAPER-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050

The most robust method of applying a license key is directly in your code, before the library is called.

// Set the IronWebScraper license key, which is a necessary step 
// to use the library without limitations. Make sure to replace 
// this with your actual license key in your production environment.
IronWebScraper.License.LicenseKey = "IRONWEBSCRAPER-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050";
// Set the IronWebScraper license key, which is a necessary step 
// to use the library without limitations. Make sure to replace 
// this with your actual license key in your production environment.
IronWebScraper.License.LicenseKey = "IRONWEBSCRAPER-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050";
' Set the IronWebScraper license key, which is a necessary step 
' to use the library without limitations. Make sure to replace 
' this with your actual license key in your production environment.
IronWebScraper.License.LicenseKey = "IRONWEBSCRAPER-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050"
$vbLabelText   $csharpLabel

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

IronWebScraper License Keys FAQ

Curtis Chau
Rédacteur technique

Curtis Chau détient un baccalauréat en informatique (Université de Carleton) et se spécialise dans le développement front-end avec expertise en Node.js, TypeScript, JavaScript et React. Passionné par la création d'interfaces utilisateur intuitives et esthétiquement plaisantes, Curtis aime travailler avec des frameworks modernes ...

Lire la suite
Prêt à commencer?
Nuget Téléchargements 122,916 | Version : 2025.11 vient de sortir