Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Getting ArcGIS Service Pack and Build numbers in ArcObjects

$
0
0
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
Code:

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
Code:

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?

Viewing all articles
Browse latest Browse all 1374

Trending Articles