License Registration
When you buy a commercial version of WebClientPrint for ASP.NET you are provided with license information to register the product in your projects.
To register WebClientPrint in the ASP.NET Core project where you are referencing it, you must set the LicenseOwner and LicenseKey properties in the Controller class where a ClientPrintJob object is created and returned.
Here's a snipped code on how to do it.
Setting the LicenseOwner and LicenseKey properties before invoking cpj.GetContent is mandatory!
//Set license info...
WebClientPrint.LicenseOwner = "LICENSE OWNER HERE";
WebClientPrint.LicenseKey = "LICENSE KEY HERE";
//Create ClientPrintJob...
ClientPrintJob cpj = new ClientPrintJob();
//...
//Return ClientPrintJob...
return File(cpj.GetContent(), "application/octet-stream");