Using IronPPT License Keys

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

ライセンス キーの取得方法

IronPPTライセンスキーを追加することで、制限や透かしなしでプロジェクトをライブでデプロイすることができます。

You can buy a license key or sign up for a free 30 day trial key here.


ステップ1: IronPPTの最新版をダウンロードする。

今日あなたのプロジェクトでIronPPTを無料トライアルで使用開始。

最初のステップ:
green arrow pointer


ステップ 2: ライセンス キーの適用

コードを使用してライセンスを設定する。

このコード・スニペットをアプリケーションのスタートアップに追加してください(例えばProgram.csあるいはStartup.cs)。

:path=/static-assets/ppt/content-code-examples/how-to/license-keys-apply.cs
// This line of code is setting the license key for the IronPPT library.
// Ensure that you have a valid license key provided by IronPPT to avoid any licensing issues.
// The line below should typically be at the start of your application
// initialization process to ensure that the library is appropriately licensed
// before any library functions are utilized. Ensure that the IronPPT 
// namespace and relevant assemblies are referenced in your project.

IronPPT.License.LicenseKey = "IRONPPT.MYLICENSE.KEY.1EF01";
' This line of code is setting the license key for the IronPPT library.
' Ensure that you have a valid license key provided by IronPPT to avoid any licensing issues.
' The line below should typically be at the start of your application
' initialization process to ensure that the library is appropriately licensed
' before any library functions are utilized. Ensure that the IronPPT 
' namespace and relevant assemblies are referenced in your project.

IronPPT.License.LicenseKey = "IRONPPT.MYLICENSE.KEY.1EF01"
$vbLabelText   $csharpLabel

.NET Core appsettings.jsonファイルを使用してライセンス キーを設定します。

.NET Coreアプリケーション内でグローバルにライセンスキーを適用するには、次の手順に従います:

  • プロジェクトのルート・ディレクトリにappsettings.jsonという名前のJSONファイルを追加してください。
  • JSON設定ファイルにIronPPT.LicenseKeyエントリを追加します。その値を特定のライセンスキーに設定します。
  • ファイルのプロパティに_Copy to Output Directoryが含まれていることを確認してください:常にコピーします。

ファイル: appsettings.json

{
    "IronPPT.LicenseKey": "IronPPT.MYLICENSE.KEY.1EF01"
}

ステップ 3: ライセンス キーの確認

インストールされたライセンス キーの確認

ライセンスキーが正しく適用されているかどうかを確認するには、IsLicensed プロパティをチェックしてください。 次のコード・スニペットを使用してください:

:path=/static-assets/ppt/content-code-examples/how-to/license-keys-is-licensed.cs
// This code snippet checks whether the IronPPT license key has been successfully applied.
// It retrieves the license status using the IronPPT library's License class.

// Declaration and initialization of a boolean variable to store the license status
bool licensed = IronPPT.License.IsLicensed;

// It is assumed that the IronPPT library is correctly referenced,
// and that the license information has been set prior to this check.
// This boolean will be true if the license is applied correctly; otherwise, it will be false.

// The code below demonstrates how you might use this information in a larger application.
if (licensed)
{
    Console.WriteLine("The IronPPT license has been successfully applied.");
}
else
{
    Console.WriteLine("The IronPPT license is not applied. Please verify the license details.");
}
' This code snippet checks whether the IronPPT license key has been successfully applied.
' It retrieves the license status using the IronPPT library's License class.

' Declaration and initialization of a boolean variable to store the license status
Dim licensed As Boolean = IronPPT.License.IsLicensed

' It is assumed that the IronPPT library is correctly referenced,
' and that the license information has been set prior to this check.
' This boolean will be true if the license is applied correctly; otherwise, it will be false.

' The code below demonstrates how you might use this information in a larger application.
If licensed Then
	Console.WriteLine("The IronPPT license has been successfully applied.")
Else
	Console.WriteLine("The IronPPT license is not applied. Please verify the license details.")
End If
$vbLabelText   $csharpLabel

ライセンス キーの検証

このコードスニペットを使用して、ライセンスまたはトライアルキーの有効性を確認してください:

:path=/static-assets/ppy/content-code-examples/how-to/license-keys-is-valid.cs
// このコードスニペットは利用できません!
IRON VB CONVERTER ERROR developers@ironsoftware.com
$vbLabelText   $csharpLabel

戻り値がtrueの場合、キーが有効であることを意味し、IronPPTの使用を続行できます。 falseを返した場合、キーは無効です。


ステップ4: プロジェクトを開始する

までご連絡ください。

よくある質問

C#プレゼンテーションライブラリの最新バージョンをどのようにダウンロードできますか?

C#プレゼンテーションライブラリの最新バージョンをダウンロードするには、IronPPTのウェブサイトにアクセスし、ライセンスページに記載されたダウンロード手順に従ってください。

C#プロジェクトでライセンスキーを適用する手順は何ですか?

C#プロジェクトでライセンスキーを適用するには、スタートアップファイル(例:Program.cs または Startup.cs)にコードスニペットを追加するか、.NET Coreアプリケーションにキーを統合するために appsettings.json ファイルを使用できます。

ライセンスキーが正しくインストールされているかどうかを確認するにはどうすればいいですか?

コード内で IsLicensed プロパティを確認することによって、ライセンスキーのインストールを確認できます。それがtrueを返す場合は、ライセンスが正しくインストールされています。

ライセンスキーが無効な場合はどうすればいいですか?

ライセンスキーが無効な場合、まず正しく入力されていることを確認してください。IsValid プロパティでその有効性を確認します。問題が続く場合は、IronSoftwareのサポートに問い合わせてください。

appsettings.jsonファイルを使用してライセンスキーを適用できますか?

はい、appsettings.json ファイルを使用して、IronPPT.LicenseKey エントリを追加し、その値を特定のライセンスキーに設定することでライセンスキーを適用できます。

C#プレゼンテーションライブラリを使用するためのチュートリアルはどこにありますか?

C#プレゼンテーションライブラリを使用するための包括的なチュートリアルがIronPPTのウェブサイトで利用可能であり、詳細な指示と例を提供して、IronPPTを使い始めるのに役立ちます。

ライセンスの購入にはどのようなサポートが含まれていますか?

ライセンスの購入には1年間のサポートと更新が含まれています。質問や問題がある場合は、support@ironsoftware.comまでお問い合わせください。

C#プレゼンテーションライブラリには無料トライアルがありますか?

はい、無料の30日試用ライセンスキーが用意されています。IronPPTウェブサイトの試用ライセンスページにアクセスして取得できます。

IronPPT は .NET 10 と互換性がありますか?

はい、IronPPTは.NET 10をサポートしています。.NET Core 10、.NET Core 9、8、7、6、.NET Standard 2.0以降、.NET Framework 4.6.2以降と互換性があります。([ironsoftware.com](https://ironsoftware.com/csharp/ppt/?utm_source=openai))

Curtis Chau
テクニカルライター

Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。

開発以外にも、CurtisはIoT(Internet of Things)への強い関心を持ち、ハードウェアとソフトウェアの統合方法を模索しています。余暇には、ゲームをしたりDiscordボットを作成したりして、技術に対する愛情と創造性を組み合わせています。

準備はいいですか?
Nuget ダウンロード 3,171 | バージョン: 2025.11 ただ今リリースされました