在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大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。

除了開發,Curtis對物聯網(IoT)有濃厚的興趣,探索創新的方法來整合硬體和軟體。在空閒時間,他喜歡玩遊戲和建立Discord機器人,結合他對技術的熱愛與創造力。

準備好開始了嗎?
Nuget 下載 2,317,217 | 版本: 2026.7 剛剛發布
Still Scrolling Icon

還在滾動嗎?

想快速驗證嗎? PM > Install-Package BarCode
運行範例觀看您的字串成為條碼。