Using IronZIP License Keys
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.
IronZip.License.LicenseKey = "IRONZIP.MYLICENSE.KEY.1EF01";IronZip.License.LicenseKey = "IRONZIP.MYLICENSE.KEY.1EF01"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>
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.jsonin 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:
using IronZip;
using System;
// Check whether the license key has been applied correctly
bool isLicensed = IronZip.License.IsLicensed;
if (isLicensed)
{
Console.WriteLine("IronZIP is licensed.");
}
else
{
Console.WriteLine("IronZIP is not licensed.");
}
Validate the License Key
To ensure the validity of your license or trial key, you can use the following code snippet:
using IronZip;
using System;
// Validate the license or trial key
bool isValid = IronZip.License.IsValidLicense("IRONZIP.MYLICENSE.KEY.1EF01");
if (isValid)
{
Console.WriteLine("The license key is valid.");
}
else
{
Console.WriteLine("The license key is invalid.");
}
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.
Frequently Asked Questions
How can I obtain an IronZIP license key?
You can buy a license key or sign up for a free 30-day trial key to deploy your IronZIP project live without restrictions or watermarks.
How do I apply an IronZIP license key in .NET applications?
To apply an IronZIP license key in .NET, you can use code by setting the license key at the startup of your application with `IronZip.License.LicenseKey = "YOUR_LICENSE_KEY";`.
What should I do if my IronZIP license key is not being picked up in ASP.NET projects?
If your IronZIP license key is not being picked up in ASP.NET projects, especially on versions before 2024.3.3, visit the 'Setting License Key in Web.config' troubleshooting article for guidance.
Can I set the IronZIP license key in a .NET Core application?
Yes, you can set the IronZIP license key in a .NET Core application using an `appsettings.json` file in the root directory of your project.
How can I verify if the IronZIP license key has been correctly applied?
To verify the application of an IronZIP license key, check the `IronZip.License.IsLicensed` property in your code. It should return `true` if the license is correctly applied.
What code snippet can I use to validate the IronZIP license key?
To validate the license key, use `bool isValid = IronZip.License.IsValidLicense("YOUR_LICENSE_KEY");` in your code. If `isValid` is `true`, the key is valid.
Is there documentation available to help me get started with IronZIP?
Yes, we recommend following the comprehensive tutorial on how to Get Started with IronZIP available on our website for detailed instructions and examples.
What should I do if I encounter issues while licensing IronZIP?
If you encounter issues while licensing IronZIP, visit the troubleshooting articles on our website or reach out to Iron Software support for assistance.

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.