We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Pdf.License.SetLicense does not work under .net 6

i am using Assembly Aspose.PDF, Version=, it was working under .net 5.0 .i upgrade my .net platform to .net 6, the below code does not work:

var pdfLicencess = new Aspose.Pdf.License();
using var stream = new MemoryStream(array);

please see attachment (229.4 KB)


Please post your license file via private message. In order to send a private message with attachment, please click on my name and find “Message” button. Please check the attached image. send message.png (20.7 KB)

We will investigate the issue with your license file on our end and provide you more information.

P.S. Please do not share your license file publicly in forum threads.

hi Tahir,

pelase see the attachment:

license.7z (764 Bytes)


This is a known issue and it has been resolved. Its fix will be available in the next version of Aspose.PDF i.e. 21.11. We will inform you via this forum thread once new version of Aspose.PDF is available.

but i dont want to buy the new license for this issue,

do you have a hot fix for 20.7?


Please note that we do not provide support for older released versions of Aspose.PDF. Moreover, we do not provide any fixes or patches for old versions of Aspose products either. All fixes and new features are always added into new versions of our products.

We always encourage our customers to use the latest version of Aspose.PDF as it contains newly introduced features, enhancements and fixes to the issues that were reported earlier.

The issues you have found earlier (filed as PDFNET-50633) have been fixed in Aspose.PDF for .NET 21.11.