IronWebScraper 開始使用 使用許可證密鑰 Using IronWebScraper License Keys Curtis Chau 更新日期:6月 1, 2025 Download IronWebScraper NuGet 下載 DLL 下載 Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Grok Ask Grok about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article 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 在應用程式中全域應用一個金鑰,請將以下金鑰添加到您的 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 There is a known licensing issue between IronWebScraper version 2023.4.13 - 2024.3.6 on projects: 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。 常見問題解答 購買網路爬蟲許可證後,如何取得我的許可證密鑰? 購買許可證後,付款成功後您將立即收到 IronWebScraper 許可證密鑰。密鑰將顯示在結帳頁面,同時也會透過電子郵件發送給您。 如何在 C# 應用程式中以程式設計方式設定我的網路爬蟲許可證金鑰? 您可以使用下列程式碼在應用程式啟動時設定 IronWebScraper 授權金鑰: IronWebScraper.License.LicenseKey = "IRONSCRAPER-MYLICENSE-KEY-1EF01"; 如何使用 Web.Config 或 App.Config 設定我的網路爬蟲許可證金鑰? 若要全域套用您的 IronWebScraper 授權金鑰,請將其新增至 appSettings 下的設定檔: <add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"/> 如果我的許可證金鑰在 ASP.NET 專案的 Web.config 檔案中無法識別,我該怎麼辦? IronWebScraper 版本 2023.4.13 至 2024.3.6 有已知問題,即儲存在 Web.config 檔案中的金鑰在 .NET Framework 版本 >= 4.6.2 的 ASP.NET 專案中無法使用。有關更多信息,請參閱故障排除文章。 如何驗證我的網路爬蟲許可證金鑰是否已正確安裝? 您可以執行以下程式碼片段來驗證 IronWebScraper 授權金鑰的安裝情況: bool result = IronWebScraper.License.IsValidLicense("IRONWEBSCRAPER-MYLICENSE-KEY-1EF01"); 哪裡可以找到如何使用網路爬蟲的教學? IronWebScraper 提供了一個全面的入門教學。您可以透過造訪網頁上提供的連結來查看。 IronWebScraper 是否支援 .NET 10?許可證密鑰在該平台上是否以相同的方式運作? 是的-IronWebScraper 支援 .NET 10 以及其他平台(.NET 9、8、7、6、5、Core 版本、Standard 2),具體支援平台清單請參閱 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 下載 122,916 | 版本: 2025.11 剛剛發布 免費 NuGet 下載 總下載量:122,916 查看許可證