如何在 IronWebScraper 中应用许可证密钥
Curtis Chau
Updated: 2026年6月29日
许可证密钥是以到期日期结束的长字符串。 请确保正确复制,无空格。
IRONWEBSCRAPER-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050
Text
应用许可证密钥的最可靠方法是在调用库之前直接在代码中。
// 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"有关更多选项,包括使用web.config和appsettings.json,请参见本FAQ页面以获取更多信息:
IronWebScraper License Keys FAQ

技术作家
Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。
...
阅读更多