Appliquer une clé de licence dans IronXL

This article was translated from English: Does it need improvement?
Translated
View the article in English

La clé de licence est une longue chaîne qui comprend une date d'expiration, marquant la fin du support. La licence est perpétuelle, vous permettant de continuer à l'utiliser pour les versions publiées avant cette date. Veuillez vous assurer qu'elle est copiée correctement, sans aucun espace.

Application d'une clé de licence en Python

Vous trouverez ci-dessous un exemple d'application de la clé de licence IronXL dans un script Python. Veillez à remplacer "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050" par votre clé de licence réelle.

# Set the IronXL license key
IronXl.License.LicenseKey = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
# Set the IronXL license key
IronXl.License.LicenseKey = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
PYTHON

Applying a License Key in C

La méthode la plus fiable pour appliquer une clé de licence consiste à l'intégrer directement dans votre code C#, avant tout appel à la bibliothèque IronXL. Assurez-vous de remplacer "IRONXL-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050" par votre clé de licence réelle.

// Set the IronXL license key
IronXl.License.LicenseKey = "IRONXL-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
// Set the IronXL license key
IronXl.License.LicenseKey = "IRONXL-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
$vbLabelText   $csharpLabel

Options de configuration supplémentaires

Pour plus d'options, notamment les configurations via web.config , app.config et appsettings.json , veuillez consulter l'article suivant pour plus d'informations : Utilisation des clés de licence IronXL

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: IronXl.Excel

Filename: helpers/counter_helper.php

Line Number: 85

Backtrace:

File: /var/www/ironpdf.com/application/helpers/counter_helper.php
Line: 85
Function: _error_handler

File: /var/www/ironpdf.com/application/views/main/sections/ready_to_started_202509.php
Line: 12
Function: getTotalDonwloadNumber

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 489
Function: view

File: /var/www/ironpdf.com/application/controllers/Products/Troubleshooting.php
Line: 27
Function: render_products_view

File: /var/www/ironpdf.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: IronXl.Excel

Filename: helpers/counter_helper.php

Line Number: 85

Backtrace:

File: /var/www/ironpdf.com/application/helpers/counter_helper.php
Line: 85
Function: _error_handler

File: /var/www/ironpdf.com/application/views/main/sections/ready_to_started_202509.php
Line: 19
Function: getTotalDonwloadNumber

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 489
Function: view

File: /var/www/ironpdf.com/application/controllers/Products/Troubleshooting.php
Line: 27
Function: render_products_view

File: /var/www/ironpdf.com/index.php
Line: 292
Function: require_once

Prêt à commencer?
Nuget Téléchargements 1,890,100 | Version : 2026.3 vient de sortir

A PHP Error was encountered

Severity: Notice

Message: Undefined index: IronXl.Excel

Filename: helpers/counter_helper.php

Line Number: 85

Backtrace:

File: /var/www/ironpdf.com/application/helpers/counter_helper.php
Line: 85
Function: _error_handler

File: /var/www/ironpdf.com/application/views/main/sections/still_scrolling_202512.php
Line: 17
Function: getTotalDonwloadNumber

File: /var/www/ironpdf.com/application/views/products/sections/three_column_docs_page_structure.php
Line: 71
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 88
Function: view

File: /var/www/ironpdf.com/application/views/products/troubleshooting/index.php
Line: 2
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 88
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 552
Function: view

File: /var/www/ironpdf.com/application/controllers/Products/Troubleshooting.php
Line: 27
Function: render_products_view

File: /var/www/ironpdf.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: IronXl.Excel

Filename: helpers/counter_helper.php

Line Number: 85

Backtrace:

File: /var/www/ironpdf.com/application/helpers/counter_helper.php
Line: 85
Function: _error_handler

File: /var/www/ironpdf.com/application/views/main/sections/still_scrolling_202512.php
Line: 24
Function: getTotalDonwloadNumber

File: /var/www/ironpdf.com/application/views/products/sections/three_column_docs_page_structure.php
Line: 71
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 88
Function: view

File: /var/www/ironpdf.com/application/views/products/troubleshooting/index.php
Line: 2
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 88
Function: view

File: /var/www/ironpdf.com/application/libraries/Render.php
Line: 552
Function: view

File: /var/www/ironpdf.com/application/controllers/Products/Troubleshooting.php
Line: 27
Function: render_products_view

File: /var/www/ironpdf.com/index.php
Line: 292
Function: require_once

Still Scrolling Icon

Vous faites encore défiler ?

Vous voulez une preuve rapidement ? PM > Install-Package IronXl.Excel
exécuter un échantillon regarder vos données devenir une feuille de calcul.