Using IronWebScraper License Keys

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

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

Setting your IronWebScraper license key using code

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

// Set the license key for IronWebScraper at the startup of your application.
IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01";
// Set the license key for IronWebScraper at the startup of your application.
IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01";
' Set the license key for IronWebScraper at the startup of your application.
IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01"
$vbLabelText   $csharpLabel

Setting your IronWebScraper license key 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 your IronWebScraper license key here -->
    <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/>
  </appSettings>
  ...
</configuration>
<configuration>
  ...
  <appSettings>
    <!-- Add your IronWebScraper license key here -->
    <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/>
  </appSettings>
  ...
</configuration>
XML

There is a known licensing issue between IronWebScraper version 2023.4.13 - 2024.3.6 on projects:

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

To test if your key has been installed correctly

// Test if the IronWebScraper license key is valid.
bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01");
// Test if the IronWebScraper license key is valid.
bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01");
' Test if the IronWebScraper license key is valid.
Dim result As Boolean = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01")
$vbLabelText   $csharpLabel

Get started with your project

Follow our tutorial on how to Get Started with IronWebScraper.

Preguntas Frecuentes

¿Cómo recibo mi clave de licencia después de comprar una licencia de web scraping?

Al comprar una licencia, recibirá su clave de licencia de IronWebScraper inmediatamente una vez que su pago se haya confirmado. Se mostrará en la pantalla de pago y también se le enviará por correo electrónico.

¿Cómo puedo configurar mi clave de licencia de web scraper programáticamente en una aplicación C#?

Puede configurar su clave de licencia de IronWebScraper al inicio de su aplicación usando el siguiente código: IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01";

¿Cómo configuro mi clave de licencia de web scraper usando Web.Config o App.Config?

Para aplicar su clave de licencia de IronWebScraper globalmente, agréguela a su archivo de configuración debajo de appSettings: <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/>

¿Qué debo hacer si mi clave de licencia no es reconocida en un archivo Web.config para proyectos ASP.NET?

Existe un problema conocido con las versiones de IronWebScraper 2023.4.13 a 2024.3.6 donde la clave almacenada en un archivo Web.config no se utiliza en proyectos ASP.NET con versiones de .NET Framework >= 4.6.2. Consulte el artículo de resolución de problemas para obtener más información.

¿Cómo puedo verificar si mi clave de licencia de web scraper se ha instalado correctamente?

Puede verificar la instalación de su clave de licencia de IronWebScraper ejecutando el siguiente fragmento de código: bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01");

¿Dónde puedo encontrar un tutorial para comenzar a usar el web scraper?

Un tutorial completo para comenzar con IronWebScraper está disponible. Puede acceder a él visitando el enlace proporcionado en la página web.

¿IronWebScraper es compatible con .NET 10 y las claves de licencia funcionan de la misma manera en esta plataforma?

Sí, IronWebScraper es compatible con .NET 10 y otras plataformas (.NET 9, 8, 7, 6, 5, versiones Core, Standard 2), como se indica en la Galería de NuGet. Las claves de licencia funcionan de la misma manera en .NET 10: se pueden configurar mediante la propiedad License.LicenseKey, mediante archivos de configuración (como appsettings.json o Web.Config/App.Config) y verificar mediante License.IsValidLicense. ([nuget.org](https://www.nuget.org/packages/IronWebScraper/?utm_source=openai))

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 122,916 | Versión: 2025.11 recién lanzado