I need to differentiate that a selected file is created with Excel 2010 or Excel 2013 version of a selected Excel file and Excel application on server must match in order to con
found a simple solution with OLE File Property Reader
var doc = new OleDocumentPropertiesClass(); doc.Open(ExcelFilePath, false, dsoFileOpenOptions.dsoOptionDefault); string DocFileVersion = doc.SummaryProperties.Version.ToString();
this will return version of Application Version of excel file...