Return Installed Vault version

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
behold
Posts: 43
Joined: Fri Jan 06, 2006 1:00 pm

Return Installed Vault version

Post by behold » Fri Dec 23, 2011 12:52 pm

I have several applications using the Vault API. I would like to return and display the version of the Vault server to the user. I found how to get the most current available version using "VaultLib.CheckVersion.GetVersionInformationFromSourceGearWebsite.Latest". I cannot find how to return the version of the Vault server we have installed. If thisis possible, please let me know.

We are currently using Vault 5.0.4.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Return Installed Vault version

Post by Beth » Tue Dec 27, 2011 11:52 am

Try something like the following:

Code: Select all

VaultServiceVersion vsv = new VaultServiceVersion(); 
ClientInstance.Connection.GetServerVersionInfo(ref vsv);
Beth Kieler
SourceGear Technical Support

Post Reply