如何在 IronWebScraper 中套用許可證金鑰
Curtis Chau
已更新: 2026年8月2日
許可證密鑰是一長串字串,以到期日期結尾。 請確保正確複製,不要有空格。
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"' 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,請參閱此常見問題頁面以取得更多資訊:
Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。