IRONSOFTWAREHOME

Using IronPrint License Keys

Curtis Chau
Curtis Chau
Updated: August 2, 2026

How to Get a License Key

Adding an IronPrint 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 IronPrint

Step 2: Apply Your License Key

Set your license using code

Add this code to the startup of your application, before IronPrint is used. Make sure to replace YOUR_LICENSE_KEY with your actual IronPrint license key.

using IronPrint;

class Program
{
    static void Main()
    {
        // Apply the IronPrint license key at the start of your application
        IronPrint.License.LicenseKey = "YOUR_LICENSE_KEY";
        
        // Verify that the license key is applied
        if (IronPrint.License.IsLicensed)
        {
            Console.WriteLine("License is applied successfully.");
        }
        else
        {
            Console.WriteLine("Failed to apply the license.");
        }

        // Start using IronPrint features
        // Your code logic goes here
    }
}
C#

Set your license using Web.Config or App.Config

To apply a key globally to your application using Web.Config or App.Config, add the following key to your config file in appSettings.

<configuration>
  ...
  <appSettings>
    <add key="IronPrint.LicenseKey" value="IRONPRINT.MYLICENSE.KEY.1EF01"/>
  </appSettings>
  ...
</configuration>
XML

There is a known licensing issue with the IronPrint version released before 2024.3.6 on projects:

  • ASP.NET projects
  • .NET Framework version >= 4.6.2

The key stored in a Web.config file is NOT being picked up and used by the product. Visit the 'Setting License Key in Web.config' troubleshooting article to learn more.

Ensure that IronPrint.License.IsLicensed returns true to verify that your application is licensed correctly.


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

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

  • Add a JSON file to your project called appsettings.json in the root directory of your project.
  • Add a 'IronPrint.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

{
    "IronPrint.LicenseKey": "IRONPRINT.MYLICENSE.KEY.1EF01"
}
JSON

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:

using IronPrint;

class LicenseCheck
{
    static void Main()
    {
        // Check if the license is applied
        bool isLicensed = IronPrint.License.IsLicensed;
        Console.WriteLine(isLicensed ? "License applied." : "License not applied.");
    }
}

Validate the License Key

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

using IronPrint;

class ValidateLicense
{
    static void Main()
    {
        // Validate license or trial key
        bool isValid = IronPrint.License.IsValidLicense("YOUR_LICENSE_KEY");
        Console.WriteLine(isValid ? "License key is valid." : "License key is invalid.");
    }
}
C#

If the return value is True, it means the key is valid, and you can proceed with using IronPrint. 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 IronPrint, we highly recommend following our comprehensive tutorial on how to Get Started with IronPrint. This tutorial offers detailed instructions and examples to help you grasp the basics of using IronPrint.


Questions or Need Support?

To use IronPrint in live projects, you'll require a paid or trial license key, which you can obtain by purchasing 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 IronPrint section on our website.

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

Frequently Asked Questions

How do I obtain a license key for IronPrint?

You can purchase an IronPrint license key from our licensing page or sign up for a free 30-day trial key.

How can I apply the IronPrint license key using C# code?

Include the code `IronPrint.License.LicenseKey = "YOUR_LICENSE_KEY";` in the startup of your application, prior to utilizing IronPrint, ensuring your license is applied.

Can I apply the IronPrint license key using Web.Config or App.Config?

Yes, to apply it globally, add `` in the appSettings section of your Web.Config or App.Config file.

What are the troubleshooting steps if my license key is not working in Web.Config?

For ASP.NET projects or .NET Framework version >= 4.6.2, visit the 'Setting License Key in Web.config' troubleshooting article if your license key from Web.Config is not being recognized.

How do I apply an IronPrint license key using a .NET Core appsettings.json file?

Create an appsettings.json file in the root directory of your project with the key "IronPrint.LicenseKey" and set its value to your license key. Ensure it is set to copy to output directory.

How can I verify if my IronPrint license key is applied?

Use `IronPrint.License.IsLicensed` to check if the license is applied. It should return true if successful.

How do I validate my IronPrint license key?

Utilize the `IronPrint.License.IsValidLicense("YOUR_LICENSE_KEY")` function to validate your license or trial key. It returns true if the key is valid.

Where can I find tutorials to get started with IronPrint?

To begin with IronPrint, refer to our comprehensive [Get Started with IronPrint tutorial](/csharp/print/docs/) for step-by-step instructions and examples.

What should I do if I have questions or need support for IronPrint?

Feel free to reach out to support@ironsoftware.com for any queries or support needs related to IronPrint.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 46,090Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronPrint
nuget.org/packages/IronPrint/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronPrint"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

  1. Download and unzip IronPrint to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronPrint.dll"

Licenses from $999

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required