Using IronZIP License Keys

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
// CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
' CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
$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
// CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
' CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
$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
// CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
' CET EXTRAIT DE CODE N'EST PAS DISPONIBLE !
$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.

Questions Fréquemment Posées

Comment puis-je appliquer une clé de licence dans une application C# ?

Pour appliquer une clé de licence dans une application C#, vous pouvez utiliser la clé de licence IronZIP au démarrage de votre application. Ajoutez ce code avant d'utiliser IronZIP pour vous assurer que la licence est appliquée correctement.

Comment ajouter une clé de licence à Web.Config ou App.Config ?

Pour appliquer une clé de licence globalement à l'aide de Web.Config ou App.Config, incluez la clé de licence sous la section appSettings de votre fichier de configuration. Notez qu'il peut y avoir des problèmes avec les projets ASP.NET et les versions du .NET Framework 4.6.2 et supérieures.

Que dois-je faire si ma clé de licence n'est pas reconnue dans Web.Config?

Si votre clé de licence n'est pas reconnue dans Web.Config, vérifiez les problèmes connus liés aux versions d'IronZIP antérieures à 2024.3.3. Consultez le guide de dépannage sur le site web d'IronZIP pour plus d'informations.

Comment puis-je valider que ma clé de licence IronZIP fonctionne ?

Vous pouvez valider votre clé de licence IronZIP en utilisant la propriété IronZip.License.IsLicensed. Si elle renvoie true, votre clé de licence est installée correctement.

Comment puis-je définir une clé de licence dans une application .NET Core ?

Dans les applications .NET Core, vous pouvez définir une clé de licence en l'ajoutant au fichier appsettings.json dans le répertoire racine de votre projet. Assurez-vous que la clé est sous 'IronZip.LicenseKey' et que le fichier est configuré sur 'Copier dans le répertoire de sortie: Toujours copier'.

Comment vérifier si ma clé de licence est valide ?

Pour vérifier la validité de votre clé de licence, utilisez la propriété IronZip.License.IsValid. Si elle renvoie true, la clé est valide et vous pouvez continuer à utiliser IronZIP.

Où puis-je trouver un tutoriel pour commencer avec IronZIP ?

Pour commencer avec IronZIP, suivez le tutoriel complet disponible sur le site web d'IronZIP, qui fournit des instructions détaillées et des exemples.

Qui dois-je contacter si j'ai besoin de support avec IronZIP ?

Pour tout support ou toute question concernant IronZIP, contactez support@ironsoftware.com. Vous pouvez également explorer la documentation étendue et les ressources disponibles dans la section IronZIP du site web.

IronZIP est-il compatible avec .NET 10 ?

Oui, IronZIP prend en charge les versions modernes de .NET, notamment .NET 8 et .NET 9, et est compatible multiplateforme. .NET 10 étant sorti le 11 novembre 2025, IronZIP continue de fonctionner avec la dernière version LTS. Il se peut que vous deviez mettre à jour votre SDK/vos outils vers .NET 10 pour profiter des nouvelles fonctionnalités. ([dotnet.microsoft.com](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core?utm_source=openai))

Curtis Chau
Rédacteur technique

Curtis Chau détient un baccalauréat en informatique (Université de Carleton) et se spécialise dans le développement front-end avec expertise en Node.js, TypeScript, JavaScript et React. Passionné par la création d'interfaces utilisateur intuitives et esthétiquement plaisantes, Curtis aime travailler avec des frameworks modernes ...

Lire la suite
Prêt à commencer?
Nuget Téléchargements 16,000 | Version : 2025.11 vient de sortir