Licensing Bug

Using the SetLicense() method of the License class for PDF.Kit, with the lic file as an embedded resource, I get an exception. All the other Aspose classes seem to support this correctly, but the PDF.Kit does not seem to search for an embedded resource license file, and instead throws an exception that it can not find the lic file in the output folder.

I will try to open the embedded resource myself and pass the SetLicense() the IOStream, but it would be better if I didn’t need to workaround this bug.

To make this worse, the overloads for the SetLicense() are not consistant with the other Aspose products.

For example, the Aspose.Word.License class takes:

SetLicense(licenseName as String)
SetLicense(stream As System.IO.Stream)

The Aspose.Pdf.Kit takes:

(String)
(IO.TextReader, Web.UI.Page)
(String, Web.UI.Page)
(IO.TextReader)

It doesn’t even take a IO.Stream… so I can’t go the embedded resource route at all with this class. I will have to include it in my project output directory, something I had really hoped to avoid.

Dear,
Thanks for considering Aspose.

hotfix Kit 1.0.2 was released. Please check Downloads and install the latest version of the API.

Best regards.