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

Free Support Forum - aspose.com

Is SetLicense valid for Entire Session

Hi.

License license = new License();

license.setLicense(myStream);

Can above be valid for entire session or I have to set in each class or is there any otherway out.

Regards.

Sunil

Hi Sunil,

Well, it depends where and how you place your licensing code in your desktop or web application. You may put the licensing code at the place (in your code) from where your Java program starts.

Thank you.