在 IronXL for Python 中應用許可證金鑰

Curtis Chau
Curtis Chau
已更新: 2026年4月22日

許可證密鑰是一長串字串,以到期日期結尾。 請確保正確複製,不要有空格。

# 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

應用許可證密鑰最可靠的方法是在呼叫庫之前,直接在程式碼中應用。

# 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

如需更多選項,包括透過web.config和appsettings.json進行配置,請參閱以下常見問題頁面以獲取更多資訊:

IronXL 授權金鑰 - 常見問題

Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

閱讀更多

準備好開始了嗎?

版本:2026.11剛剛發布