在 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 擁有卡爾頓大學(Carleton University)的電腦科學學士學位,專精於前端開發,並精通 Node.js、TypeScript、JavaScript 及 React。他熱衷於打造直觀且美觀的用戶介面,喜歡運用現代框架,並創建結構完善、視覺上吸引人的手冊。

除了開發工作之外,Curtis 對物聯網(IoT)抱有濃厚興趣,致力於探索整合硬體與軟體的創新方法。閒暇時,他喜歡玩遊戲和開發 Discord 機器人,將對科技的熱愛與創意相結合。

準備好開始了嗎?
Nuget 下載 2,240,258 | 版本: 2026.5 just released
Still Scrolling Icon

還在捲動嗎?

想要快速證明? PM > Install-Package BarCode
執行範例 看您的字串變成 BarCode。