如何在 IronWebScraper 中套用授權金鑰
This article was translated from English: Does it need improvement?
Translated
View the article in English
授權金鑰是一串長字串,末尾附有到期日期。 請確保內容已正確複製,且無多餘空格。
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";
' 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
如需更多選項(包括使用 web.config 和 appsettings.json),請參閱此常見問題頁面以獲取更多資訊:
準備開始了嗎?
Nuget 下載 137,906 | 版本: 2026.6 just released

