Updated January 8, 2025
Share:

Using IronPPT License Keys

How to Get a License Key

Adding an IronPPT license key allows you to deploy your project live without restrictions or watermarks.

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


Step 1: Download the Latest Version of IronPPT

Start using IronPPT in your project today with a free trial.

First Step:
green arrow pointer

Step 2: Apply Your License Key

Set your license using code

Add this code to the startup of your application, before IronPPT is used.

:path=/static-assets/ppt/content-code-examples/how-to/license-keys-apply.cs
IronPPT.License.LicenseKey = "IRONPPT.MYLICENSE.KEY.1EF01";
IronPPT.License.LicenseKey = "IRONPPT.MYLICENSE.KEY.1EF01"
VB   C#

Set your license key using a .NET Core appsettings.json file

To apply a key globally to your application to a .NET Core:

  • Add a JSON file to your project called appsettings.json in the root directory of your project
  • Add a 'IronPPT.LicenseKey' key to your JSON config file. The value should be your license key.
  • Ensure that the file properties include Copy to Output Directory: Copy always

File: appsettings.json

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

Step 3: Validate Your License Key

Verify the Installed License Key

To verify whether the license key has been applied correctly, you can check the IsLicensed property. Use the following code snippet:

:path=/static-assets/ppt/content-code-examples/how-to/license-keys-is-licensed.cs
// Check if the license key has been applied
bool licensed = IronPPT.License.IsLicensed;
' Check if the license key has been applied
Dim licensed As Boolean = IronPPT.License.IsLicensed
VB   C#

Validate the License Key

To ensure the validity of your license or trial key, you can use the following code snippet:

:path=/static-assets/ppy/content-code-examples/how-to/license-keys-is-valid.cs
// THIS CODE SNIPPET IS NOT AVAILABLE!
' THIS CODE SNIPPET IS NOT AVAILABLE!
VB   C#

If the return value is True, it means the key is valid, and you can proceed with using IronPPT. However, if the return value is False, it indicates that the key is invalid.


Step 4: Getting Started with Your Project

To get started with IronPPT, we highly recommend following our comprehensive tutorial on how to Get Started with IronPPT. This tutorial offers detailed instructions and examples to help you grasp the basics of using IronPPT.


Questions or Need Support?

To use IronPPT in live projects, you'll require a paid or trial license key, which you can obtain by purchase a license. The trial license is available by visiting this link.

For a comprehensive collection of code examples, tutorials, licensing details, and extensive documentation, please visit the IronPPT section on our website.

If you have any questions, feel free to reach out to support@ironsoftware.com.

Chaknith Bin

Chaknith Bin

Software Engineer

Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience.