CommonServiceSoap.GetVersionInfo Method
CommonServiceSoap.GetVersionInfo Method
Returns the version of MapPoint Web Service as an array of VersionInfo[] objects.
Public Function GetVersionInfo ( ) As
VersionInfo()
[C#]
public VersionInfo[] GetVersionInfo ( );
Remarks
- The VersionInfo array that MapPoint Web Service returns always contains a single VersionInfo object. This object contains the version number of MapPoint Web Service.
Example
[Visual Basic]
' Get the version of the MapPoint Web Service you are using
Dim commonService As New CommonServiceSoap()
Dim versionInfos() As VersionInfo
versionInfos = commonService.GetVersionInfo()
Console.WriteLine(versionInfos(0).Component + ", " + versionInfos(0).Version)
[C#]
//Get the version of the MapPoint Web Service you are using
CommonServiceSoap commonService = new CommonServiceSoap();
VersionInfo[] versionInfos;
versionInfos = commonService.GetVersionInfo();
Console.WriteLine(versionInfos[0].Component + ", " + versionInfos[0].Version);
See Also
CommonServiceSoap Class | VersionInfo Class