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

Free Support Forum - aspose.com

How to check whether the license status?

Dear Support,

I am using Aspose.Pdf (Licensed)..
Sometimes we are getting evaluation copy of document,
how to check whether the license status? .. so whenever the license is not loaded then I would apply the following:

lic_pdf = new Aspose.Pdf.License();
lic_pdf.Embedded = true;

Please advise..

many thanks in advance


Hi Winanjaya,

Thanks for contacting support.

In order to accomplish this requirement, a static read-only property named IsLicensed is added in Document class.

// determine if the API is licensed
if (Document.IsLicensed)
// print message that license is applied