Como aplicar uma chave de licença no IronWebScraper

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

A chave de licença é uma longa sequência de caracteres que termina com uma data de expiração. Certifique-se de que este texto foi copiado corretamente, sem espaços.

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

O método mais robusto para aplicar uma chave de licença é diretamente no seu código, antes da biblioteca ser chamada.

// 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

Para mais opções, incluindo o uso de web.config e appsettings.json, consulte esta página de perguntas frequentes para obter mais informações:

Perguntas frequentes sobre chaves de licença do IronWebScraper

Curtis Chau
Redator Técnico

Curtis Chau é bacharel em Ciência da Computação (Universidade Carleton) e se especializa em desenvolvimento front-end, com experiência em Node.js, TypeScript, JavaScript e React. Apaixonado por criar interfaces de usuário intuitivas e esteticamente agradáveis, Curtis gosta de trabalhar com frameworks modernos e criar manuais ...

Leia mais
Pronto para começar?
Nuget Downloads 131,175 | Versão: 2026.3 acaba de ser lançado
Still Scrolling Icon

Ainda está rolando a tela?

Quer provas rápidas? PM > Install-Package IronWebScraper
executar um exemplo Observe como seu site alvo se transforma em dados estruturados.