bool isValid = IronPdf.License.IsValidLicense("YOUR-LICENSE-KEY-STRING");
using System.Configuration;
Then load it:
For .NET MAUI applications, the key should be applied when initializing your services, ensuring it is active before any PDF operations occur. Best Practices for License Management ironpdf license key
Your (Azure, AWS, Docker, Windows Server) Share public link bool isValid = IronPdf
The process is very similar. You must set the LicenseKey attribute at the very top of your script. ironpdf license key
var configuration = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .Build();