Can you get version number of ArcGIS Pro using the API?

242
1
04-19-2018 09:37 AM
StevenCorpus1
New Contributor II

Without resorting to searching the registry, is there a way to obtain the version number of the ArcGIS Pro being used using the API?

Thanks

0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

The version of any of the Pro assemblies or executable will tell you. Something like 

string version = System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString();

"GetEntryAssembly" should be ArcGISPro.exe
0 Kudos