Class License
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringGets your current license key.static booleanDetermines whether this instance of IronPDF is Licensed.static booleanisValidLicensed(String licenseKey) Determines whether a string license key is valid.static voidsetLicenseKey(String licenseKey) Sets your license key.
- 
Constructor Details- 
Licensepublic License()
 
- 
- 
Method Details- 
getLicenseKeyGets your current license key. Removes PDF watermarks.Get a free development license at https://ironpdf.com/licensing/#trial-license or purchase a deployment license from https://ironpdf.com/licensing/. - Returns:
- the license key
 
- 
setLicenseKeySets your license key.***Recommended to set license key before calling any IronPdf function.*** You will need to add a valid license key to perform any IronPdf operations beyond basic testing. Adding a valid license key removes PDF watermarks and allows advanced functionality. Get a free development license at https://ironpdf.com/licensing/#trial-license or purchase a deployment license from https://ironpdf.com/licensing/. - Parameters:
- licenseKey- the license key
 
- 
isLicensedpublic static boolean isLicensed()Determines whether this instance of IronPDF is Licensed.Will return false unless a 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.
 
- 
isValidLicensedDetermines 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.
 
 
-