bool isValid = IronPdf.License.IsValidLicense("IRONPDF-..."); Console.WriteLine(isValid ? "Valid" : "Invalid");
using IronPdf; using Microsoft.Extensions.Configuration; ironpdf license key
: You can check if the library is successfully licensed using IronPdf.License.IsLicensed Trial Keys 30-day free trial key bool isValid = IronPdf