Using IronPPT License Keys

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

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 key or sign up for a free 30 day trial key here.


Step 1: Download the Latest Version of IronPPT

Comience a usar IronPPT en su proyecto hoy con una prueba gratuita.

Primer Paso:
green arrow pointer


Step 2: Apply Your License Key

Set your license using code

Add this code snippet to the startup of your application (e.g., in Program.cs or Startup.cs) before any IronPPT functionality is used.

: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

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

To apply a license key globally within a .NET Core application, follow these steps:

  • Add a JSON file named appsettings.json in the root directory of your project.
  • Add a IronPPT.LicenseKey entry to your JSON configuration file. Set its value to your specific 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, check the IsLicensed property. Use the following code snippet:

: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

Validate the License Key

Ensure the validity of your license or trial key using this code snippet:

:path=/static-assets/ppy/content-code-examples/how-to/license-keys-is-valid.cs
// ¡ESTE FRAGMENTO DE CÓDIGO NO ESTÁ DISPONIBLE!
' ¡ESTE FRAGMENTO DE CÓDIGO NO ESTÁ DISPONIBLE!
$vbLabelText   $csharpLabel

If the return value is true, it means the key is valid, and you can proceed with using IronPPT. If it returns false, 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 purchasing a license. A 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.

Preguntas Frecuentes

¿Cómo puedo descargar la última versión de la biblioteca de presentaciones de C#?

Para descargar la última versión de la biblioteca de presentaciones de C#, visite el sitio web de IronPPT y siga las instrucciones de descarga proporcionadas en la página de licencias.

¿Cuáles son los pasos para aplicar una clave de licencia en un proyecto de C#?

Para aplicar una clave de licencia en un proyecto de C#, puede agregar un fragmento de código en el archivo de inicio, como Program.cs o Startup.cs, o usar un archivo appsettings.json para integrar la clave dentro de una aplicación .NET Core.

¿Cómo puedo verificar si mi clave de licencia está correctamente instalada?

Puede verificar la instalación de su clave de licencia comprobando la propiedad IsLicensed en su código. Si devuelve true, la licencia está correctamente instalada.

¿Qué debo hacer si mi clave de licencia es inválida?

Si su clave de licencia es inválida, primero asegúrese de que esté ingresada correctamente. Verifique su validez usando la propiedad IsValid. Si los problemas persisten, contacte al soporte de IronSoftware para obtener asistencia.

¿Puedo aplicar una clave de licencia usando un archivo appsettings.json?

Sí, puede aplicar una clave de licencia usando un archivo appsettings.json agregando una entrada IronPPT.LicenseKey y estableciendo su valor en su clave de licencia específica.

¿Dónde puedo encontrar un tutorial para usar la biblioteca de presentaciones de C#?

Un tutorial completo para usar la biblioteca de presentaciones de C# está disponible en el sitio web de IronPPT, que ofrece instrucciones detalladas y ejemplos para ayudarle a comenzar con IronPPT.

¿Qué soporte está incluido con la compra de una licencia?

La compra de una licencia incluye un año de soporte y actualizaciones. Para cualquier pregunta o problema, puede contactar a support@ironsoftware.com.

¿Hay una prueba gratuita disponible para la biblioteca de presentaciones de C#?

Sí, hay disponible una clave de prueba gratuita por 30 días. Puede obtenerla visitando la página de licencias de prueba en el sitio web de IronPPT.

¿IronPPT es compatible con .NET 10?

Sí, IronPPT es compatible con .NET 10. Es compatible con .NET Core 10, así como con .NET Core 9, 8, 7, 6, .NET Standard 2.0+ y .NET Framework 4.6.2+. ([ironsoftware.com](https://ironsoftware.com/csharp/ppt/?utm_source=openai))

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 3,171 | Versión: 2025.11 recién lanzado