Free Support Forum - aspose.com

PDF.Kit License to use with Aspose.PDF 6.0

Hello all!


I have a license for Aspose.PDF.Kit that was purchased this year. I’ve downloaded the new Aspose.PDF 6.0 since the Kit was merged into it. However, it appears that our Kit license isn’t valid for the new merged product. The download has a license directory but no license exists.

I’ve downloaded the complete merged product but my application indicates that the license file can not be found. I am included the license file as an embedded resource as I have done with my other functioning applications.

Can anyone help?

Thanks!

Hello Patricia,

Thanks for using our products.

When using Aspose.Pdf for .NET, please try using following code lines to use the license file as an embedded resource. In case you still face any problem, please feel free to contact.

[C#]

// create a Pdf license object
Aspose.Pdf.License lic = new Aspose.Pdf.License();
// specify the license file name along with Default namespace of application
lic.SetLicense(“MergedAPI.Aspose.Total.lic”);
// set the value to indicate that license will be embedded in the application
lic.Embedded = true;

Where MergedAPI is the default Namespace of my project (Right Click Solution in Solution Explorer
and select Properties. You will see the page with Default Namespace information
).

That worked! I was neglecting to include the default namespace prefix on my license call.


Thanks!