Apply a License Key in IronBarcode

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

授權密鑰是一個長字串,包含到期日,標誌著支援的結束。 授權是永久的,這意味著您可以繼續使用在此日期之前發布的版本。 請確保正確複製,不要有任何空格。

IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050

應用授權密鑰的最可靠方法是在調用庫之前直接在您的代碼中進行。

// Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
// Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050";
' Apply the IronBarCode license key directly in your code before using the library
IronBarCode.License.LicenseKey = "IRONBARCODE-MYLICENSE-KEY-1EF01-RENEW.SUPPORT.01.JAN.2050"
$vbLabelText   $csharpLabel

要了解更多選項,包括web.configapp.configappsettings.json,請參閲以下文章以獲取更多信息:使用 IronBarcode 授權密鑰

Curtis Chau
技術作家

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

除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。

準備好開始了嗎?
Nuget 下載 1,935,276 | 版本: 2025.11 剛剛發布