PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
If you haven't get a license key, please check out how to obtain a license key.
ComPDF PDF SDK currently supports two authentication methods to verify license keys: online authentication and offline authentication.
Learn about:
What is the authentication mechanism of ComPDFKit's license?
What are the differences between Online Authentication and Offline Authentication?
After getting the license key, follow the steps below to apply it to your project.
In the email you received, locate the XML file containing the license key.
Copy the license key XML file to your own project.
You can perform authentication using the following method:
public static bool LicenseVerify()
{
if (!CPDFSDKVerifier.LoadNativeLibrary())
{
return false;
}
string xmlPath = "The path to your license key XML file";
LicenseErrorCode status = CPDFSDKVerifier.LicenseVerify(xmlPath);
return status == LicenseErrorCode.E_LICENSE_SUCCESS;
}