Forum Discussion

RedTahr's avatar
RedTahr
Copper Contributor
Oct 16, 2019

programmatically identify office 2016 vs 2019 vs 365 version in c#

anyone know how to programmatically identify whether an app is interacting with office 2016 or 2019 or 365?
as "2016 and 2019 have the same version numbers and release dates" according to docs.microsoft, which makes simply using getFileVersionInfo unproductive.
I checked by comparing excel in office 2019 with excel in office 365 and the version numbers were both 16.0 😞

Resources