Lizenzschlüssel in IronXL für Python anwenden

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

Der Lizenzschlüssel ist eine lange Zeichenkette, die mit einem Ablaufdatum endet. Bitte stellen Sie sicher, dass dieser korrekt kopiert wird, ohne Leerzeichen.

# Apply the license key to the IronXL library
# Replace 'YOUR_LICENSE_KEY' with your actual license key string
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
# Apply the license key to the IronXL library
# Replace 'YOUR_LICENSE_KEY' with your actual license key string
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
PYTHON

Die robusteste Methode, einen Lizenzschlüssel anzuwenden, besteht darin, ihn direkt in Ihrem Code vor dem Aufruf der Bibliothek zu verwenden.

# Set the license key for the IronXL library at the start of your program
# This helps to ensure that the library recognizes your license as soon as it is needed
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
# Set the license key for the IronXL library at the start of your program
# This helps to ensure that the library recognizes your license as soon as it is needed
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"
PYTHON

Weitere Optionen, einschließlich der Konfiguration über web.config und appsettings.json , finden Sie in den folgenden FAQ:

IronXL-Lizenzschlüssel – Häufig gestellte Fragen

Curtis Chau
Technischer Autor

Curtis Chau hat einen Bachelor-Abschluss in Informatik von der Carleton University und ist spezialisiert auf Frontend-Entwicklung mit Expertise in Node.js, TypeScript, JavaScript und React. Leidenschaftlich widmet er sich der Erstellung intuitiver und ästhetisch ansprechender Benutzerschnittstellen und arbeitet gerne mit modernen Frameworks sowie der Erstellung gut strukturierter, optisch ansprechender ...

Weiterlesen
Bereit anzufangen?
Version: 2025.9 gerade veröffentlicht