Free Support Forum - aspose.com

Setting License on .Net component

We are evaluating your Network component to convert mesage files. Does the SelLicense method need to be called before every operation, or can it be set only once for the application, like in the Global.asax. this is will be done in an asp.net application.

Thanks,

Alex Devia


This message was posted using Aspose.Live 2 Forum

Hi Alex,

Thanks for considering Aspose.

SetLicense() method should be called only once per application or process. In an ASP.NET application, global.asax’s Session_Start() method is the suitable place to add the licensing code.