IronWebScraper 開始 使用授權金鑰 使用 IronWebScraper 許可證金鑰 Curtis Chau 更新:6月 1, 2025 下載 IronWebScraper NuGet 下載 DLL 下載 開始免費試用 法學碩士副本 法學碩士副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在雙子座打開 請向 Gemini 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 This article was translated from English: Does it need improvement? Translated View the article in English 如果您決定購買 IronWebScraper 的許可證,您的付款到帳後,您將立即收到許可證金鑰。 此許可證將顯示在結帳畫面上,並透過電子郵件發送。 使用程式碼設定您的 IronWebScraper 許可證金鑰 將此程式碼加入應用程式的啟動過程中,在 IronWebScraper 被使用之前。 // Set the license key for IronWebScraper at the startup of your application. IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01"; // Set the license key for IronWebScraper at the startup of your application. IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01"; ' Set the license key for IronWebScraper at the startup of your application. IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01" $vbLabelText $csharpLabel 使用 Web.Config 或 App.Config 設定 IronWebScraper 授權金鑰。 若要使用 Web.Config 或 App.Config 將金鑰全域套用至您的應用程序,請將下列金鑰新增至 appSettings 中的設定檔。 <configuration> ... <appSettings> <!-- Add your IronWebScraper license key here --> <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/> </appSettings> ... </configuration> <configuration> ... <appSettings> <!-- Add your IronWebScraper license key here --> <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/> </appSettings> ... </configuration> XML IronWebScraper 版本2023.4.13至2024.3.6在某些項目中存在已知的許可問題: ASP.NET項目 .NET Framework 版本 >= 4.6.2 儲存在Web.config檔中的金鑰沒有被產品讀取和使用。 請造訪"在 Web.config 中設定許可證金鑰"故障排除文章以了解更多資訊。 測試您的鑰匙是否已正確安裝 // Test if the IronWebScraper license key is valid. bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"); // Test if the IronWebScraper license key is valid. bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"); ' Test if the IronWebScraper license key is valid. Dim result As Boolean = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01") $vbLabelText $csharpLabel 開始你的專案 請按照我們的教學了解如何開始使用 IronWebScraper 。 常見問題解答 購買 Web scraping 授權後,如何取得授權金鑰 (license key)? 購買授權後,付款一經結清,您將立即收到 IronWebScraper 授權金鑰。該密鑰將顯示在結帳螢幕上,並通過電子郵件發送給您。 如何在 C# 應用程式中以程式化的方式設定 Web scraper 授權金鑰? 您可以使用以下代碼在應用程式啟動時設定 IronWebScraper 授權金鑰:IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01"; 如何使用 Web.Config 或 App.Config 設定 Web scraper 授權金鑰? 要在全局應用您的 IronWebScraper 授權金鑰,請將此金鑰新增至 appSettings 下的組態檔案:<add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/>。 如果 ASP.NET 專案的 Web.config 檔案無法識別我的授權金鑰,該怎麼辦? IronWebscraper 2023.4.13 至 2024.3.6 版本存在一個已知問題,在 .NET Framework 版本 >= 4.6.2 的 ASP.NET 專案中,無法使用 Web.config 檔案中儲存的金鑰。如需詳細資訊,請參閱疑難排解文章。 如何驗證我的 Web scraper 授權金鑰是否已正確安裝? 您可以執行以下程式碼片段來驗證 IronWebScraper 授權金鑰的安裝:bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"); 我在哪裡可以找到開始使用網路刮刀的教學? 我們提供有關 IronWebScraper 入門的全面教學。您可以訪問網頁上提供的鏈接進行訪問。 IronWebscraper 是否支援 .NET 10,以及授權金鑰在此平台上的運作方式是否相同? 是-IronWebscraper 支援其他平台(.NET 9、8、7、6、5、Core 版本、Standard 2)中的 .NET 10,如 NuGet Gallery 所列。許可金鑰在 .NET 10 上的運作方式相同:您可以透過 License.LicenseKey 屬性、配置檔案(如 appsettings.json 或 Web.Config / App.Config)來設定,並使用 License.IsValidLicense 來驗證。([nuGet.org](https://www.nuget.org/packages/IronWebScraper/?utm_source=openai)) Curtis Chau 立即與工程團隊聊天 技術作家 Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。 準備好開始了嗎? Nuget 下載 125,527 | Version: 2025.11 剛發表 免費下載 NuGet 下載總數:125,527 檢視授權