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

Free Support Forum - aspose.com

Determine if license is registered

Per this post, it seems like there is a way to determine if a license is registered:

That post links to a bug fix, but the link no longer works (404).

Can you please tell me how to determine if a valid license is registered?

I’m using Aspose.Cells .NET 9.0


Thanks for your query.

Workbook class contains a property IsLicensed which determines the validity of license. You may please try following sample code to check if license is registered or not.

Aspose.Cells.License lic = new Aspose.Cells.License();
Workbook wb = new Workbook();
	Console.WriteLine(License is registered");
	Console.WriteLine(License is not registered");
1 Like

works great! thank you.


Good to know that the suggested code segment figures out your issue now. Feel free to contact us any time if you have further comments or questions, we will be happy to assist you soon.