Guides
Apply the License
You need to initialize the ComPDFKit Conversion SDK with a license before calling any API. You can contact ComPDFKit team to get a trial license.
c#
using ComPDFKit_Conversion.Common;
using ComPDFKit_Conversion.Conversion;
string resPath = "***";
string license = "***";
LibraryManager.InitLibrary(resPath);
LibraryManager.Initialize(license);
ErrorCode result = LibraryManager.LicenseVerify(License);
if (result != ErrorCode.e_ErrSuccess)
{
Console.WriteLine("License verification error!");
}