IronZIP 開始使用 使用許可證密鑰 Using IronZIP License Keys Curtis Chau 更新日期:6月 10, 2025 Download IronZIP NuGet 下載 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 How to Get a License Key Adding an IronZIP license key allows you to deploy your project live without restrictions or watermarks. You can buy a license key or sign up for a free 30 day trial key here. Step 1: Download the Latest Version of IronZIP [Ensure you get the latest version of IronZIP from the official website or repository.] Step 2: Apply Your License Key Set your license using code Add this code to the startup of your application, before IronZIP is used. :path=/static-assets/zip/content-code-examples/get-started/license-keys-apply.cs // 此代碼段不可用! IRON VB CONVERTER ERROR developers@ironsoftware.com $vbLabelText $csharpLabel Set your license using Web.Config or App.Config To apply a key globally to your application using Web.Config or App.Config, add the following key to your config file in appSettings. <configuration> ... <appSettings> <add key="IronZIP.LicenseKey" value="IRONZIP.MYLICENSE.KEY.1EF01"/> </appSettings> ... </configuration> <configuration> ... <appSettings> <add key="IronZIP.LicenseKey" value="IRONZIP.MYLICENSE.KEY.1EF01"/> </appSettings> ... </configuration> XML There is a known licensing issue with IronZIP versions released before 2024.3.3 on projects: ASP.NET projects .NET Framework version >= 4.6.2 The key stored in a Web.config file is NOT being picked up and used by the product. Visit the 'Setting License Key in Web.config' troubleshooting article to learn more. Ensure that IronZip.License.IsLicensed returns true to verify. Set your license key using a .NET Core appsettings.json file To apply a key globally to your application in .NET Core: Add a JSON file to your project called appsettings.json in the root directory of your project. Add a 'IronZip.LicenseKey' key to your JSON config file. The value should be your license key. Ensure that the file properties include Copy to Output Directory: Copy always. File: appsettings.json { "IronZip.LicenseKey":"IRONZIP.MYLICENSE.KEY.1EF01" } Step 3: Validate Your License Key Verify the Installed License Key To verify whether the license key has been applied correctly, you can check the IsLicensed property. Use the following code snippet: :path=/static-assets/zip/content-code-examples/get-started/license-keys-is-licensed.cs // 此代碼段不可用! IRON VB CONVERTER ERROR developers@ironsoftware.com $vbLabelText $csharpLabel Validate the License Key To ensure the validity of your license or trial key, you can use the following code snippet: :path=/static-assets/zip/content-code-examples/get-started/license-keys-is-valid.cs // 此代碼段不可用! IRON VB CONVERTER ERROR developers@ironsoftware.com $vbLabelText $csharpLabel If the return value is True, it means the key is valid, and you can proceed with using IronZIP. However, if the return value is False, it indicates that the key is invalid. Step 4: Getting Started with Your Project To get started with IronZIP, we highly recommend following our comprehensive tutorial on how to Get Started with IronZip. This tutorial offers detailed instructions and examples to help you grasp the basics of using IronZip. Questions or Need Support? To use IronZip in live projects, you'll require a paid or trial license key, which you can obtain by purchasing a license. The trial license is available by visiting this link. For a comprehensive collection of code examples, tutorials, licensing details, and extensive documentation, please visit the IronZIP section on our website. If you have any questions, feel free to reach out to support@ironsoftware.com. 常見問題解答 如何在C#應用程式中應用許可證密鑰? 若要在 C# 應用程式中套用許可證金鑰,您可以在應用程式啟動時使用 IronZIP 許可證金鑰。請在 IronZIP 被使用之前添加以下程式碼,以確保許可證正確應用。 如何將許可證金鑰新增至 Web.Config 或 App.Config 檔案? 若要使用 Web.Config 或 App.Config 全域應用程式授權金鑰,請將授權金鑰新增至設定檔中的appSettings部分。請注意,ASP.NET 專案和 .NET Framework 4.6.2 及更高版本可能有相容性問題。 如果我的許可證金鑰在 Web.Config 中無法識別,我該怎麼辦? 如果您的許可證金鑰在 Web.Config 中無法識別,請檢查 IronZIP 2024.3.3 之前的版本是否有已知問題。有關更多信息,請參閱 IronZIP 網站上的故障排除指南。 如何驗證我的 IronZIP 授權金鑰是否有效? 您可以使用IronZip.License.IsLicensed屬性來驗證您的 IronZIP 授權金鑰。如果傳回true ,則表示您的許可證金鑰已正確安裝。 如何在.NET Core應用程式中設定許可證金鑰? 在 .NET Core 應用程式中,您可以透過將許可證金鑰新增至專案根目錄下的appsettings.json檔案來設定許可證金鑰。確保密鑰位於“IronZip.LicenseKey”下,並且該檔案設定為“複製到輸出目錄:始終複製”。 如何驗證我的許可證金鑰是否有效? 若要驗證授權金鑰的有效性,請使用IronZip.License.IsValid屬性。如果傳回true ,表示金鑰有效,您可以繼續使用 IronZip。 哪裡可以找到 IronZIP 的入門教學? 要開始使用 IronZIP,請按照 IronZIP 網站上提供的綜合教學進行操作,該教學提供了詳細的說明和範例。 如果我需要 IronZIP 方面的支持,我該聯絡誰? 如需有關 IronZIP 的任何支援或諮詢,請聯絡 support@ironsoftware.com。您也可以造訪網站的 IronZIP 專區,瀏覽豐富的文件和資源。 IronZIP 與 .NET 10 相容嗎? 是的——IronZIP 支援包括 .NET 8 和 .NET 9 在內的現代 .NET 版本,並具有跨平台相容性。由於 .NET 10 已於 2025 年 11 月 11 日發布,IronZIP 仍可在最新的 LTS 版本下繼續運作。您可能需要將 SDK/工具更新至 .NET 10 才能使用最新功能。 ([dotnet.microsoft.com](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core?utm_source=openai)) Curtis Chau 立即與工程團隊聊天 技術作家 Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。 準備好開始了嗎? Nuget 下載 16,000 | 版本: 2025.11 剛剛發布 免費 NuGet 下載 總下載量:16,000 查看許可證