AnsweredAssumed Answered

Getting ArcGIS Service Pack and Build numbers in ArcObjects

Question asked by clint.dow on Jun 4, 2014
Latest reply on Jun 5, 2014 by Neil
Hi again,

I am looking to get the Service Pack and Build numbers through ArcObjects.

So far I can get the major version number using
 RuntimeManager.ActiveRuntime.Version;


This returns "10.2" - but the requirements for what I'm working on want more specific information than that.

I also saw this post on gis.stackexchange that states you can look up the service pack number based on the version number returned by
Process.GetCurrentProcess().MainModule.FileVersionInfo.FileVersion;
However this returns "11.0.50727.1" which does not correspond in any way to the list that they reference in that post.

There is arcpy functionality in arcpy.GetInstallInfo() that is able to return these values, so I know it's got to exist in ArcObjects somewhere. Any ideas?

Outcomes