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();
lic.SetLicense(@"Aspose.Cells.NET.lic");
Workbook wb = new Workbook();
if(wb.IsLicensed)
{
Console.WriteLine(License is registered");
}
else
{
Console.WriteLine(License is not registered");
}
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.