如何在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頁面以獲取更多資訊:

技術作家
Curtis Chau擁有Carleton大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。
...
閱讀更多