IronPDFライセンスキーをプロジェクトに適用する
This article was translated from English: Does it need improvement?
Translated
View the article in English
ライセンスキーは、ライセンスサポートの有効期限で終わる長い文字列です。 これが正しくコピーされていることを確認してください。
IRONPDF-MYLICENSE-KEY-1EF01-EXPIRES.01.JAN.2050
ライセンスキー文字列に余分なスペースや文字があると、以下のエラーが発生します:
Unhandled exception. IronSoftware.Exceptions.LicensingException: IronPDF must be licensed for development.
ライセンスキーを適用する最も確実な方法は、ライブラリを呼び出す前にコーディングで直接行うことです。
// Set the license key for IronPDF before making any calls to the library.
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-EXPIRES.01.JAN.2050";
// Set the license key for IronPDF before making any calls to the library.
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-EXPIRES.01.JAN.2050";
' Set the license key for IronPDF before making any calls to the library.
IronPdf.License.LicenseKey = "IRONPDF-MYLICENSE-KEY-EXPIRES.01.JAN.2050"
$vbLabelText
$csharpLabel
ご注意IronPDF バージョン 2024.1.20 以降では、プロジェクトで IronPDF ライブラリを使用するには、少なくとも無料の trial license key が必要です。 プロジェクトにライセンスキーがない場合、上記の LicensingException エラーが発生します。)]
web.config および appsettings.json を含むその他のオプションについては、次のハウツーページを参照してください: IronPDFライセンスキー
準備はできましたか?
Nuget ダウンロード 18,560,885 | バージョン: 2026.4 リリース

