Free Support Forum - aspose.com

License.SetLicense

Hi,

I was wondering how we are informed when the license file we supply to License.SetLicense is invalid?

If our license has expired, how do we know that it has expired? Does it throw an exception?

There is no information in the CHM documentation…

Hi Myrlar,

I think it throws some exception with message like "Invalid License" in case if license is invalid for Aspose.Tasks for .NET component. As I am not sure about it, I can only give a definite answer after i confirm it from the concerned department.

Hi Myrlar,

Whenever a license is expired, an exception with message "The license has expired" is thrown.