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

Free Support Forum - aspose.com

Get Aspose.Cells version in runtime

Hi,

I need to retrieve the version of the aspose.cells.dll by code.

Seems there is no Aspose.Cells.Version property.

Can you tell me how can i do that ?

Thanks

Hi,

Thanks for considering Aspose.

Well, you may utilize System.Reflection .NET API.

E.g..,

try
{
Assembly a = Assembly.LoadFrom("Aspose.Cells.dll");
MessageBox.Show("Assembly Version Info: " + a.FullName);
MessageBox.Show("Assembly .NET Runtime info: " + a.ImageRuntimeVersion.ToString());

}
catch (Exception ee)
{
MessageBox.Show("Exception occurred: " + ee.Message);
}

Thank you.

That works thanks