Class License_Api


  • public final class License_Api
    extends Object
    The type Text api.
    • Constructor Detail

      • License_Api

        public License_Api()
    • Method Detail

      • isValidLicensed

        public static Boolean isValidLicensed​(String licenseKey)
        Determines whether a string license key is valid.

        See https://ironpdf.com/licensing/ for trial, development and commercial deployment licensing options.

        Parameters:
        licenseKey - IronPDF license key as a string
        Returns:
        True if the license key given is valid.
      • isLicensed

        public static Boolean isLicensed()
        Determines whether this instance of IronPDF is Licensed.

        Will return false unless a License.setLicenseKey(String) is set to a valid trial or full license key in IronPdf.License.LicenseKey, Web.Config , App.Config or appsettings.json in .Net Core.

        See https://ironpdf.com/licensing/ and https://ironpdf.com/docs/license/license-keys/

        Returns:
        True if the license key given is valid.
      • SetLicensed

        public static void SetLicensed​(String licenseKey)