Below is the example of using the GetSystemInfo operation to get information about repository session. The request contains the repository connection moniker. The response contains information about the platform version that is installed on the server and session settings.
{
"GetSystemInfo" :
{
"tArg" :
{
"metabase" :
{
"id" : "HOJPFDOBDDBHGOAEPCAEDOHJJDOHIEFEOKHHMFEAAADGKMAO!M"
},
"allowMetabaseNotFound" : "true"
}
}
}
{
"GetSystemInfoResult" :
{
"version" : "Release 10.10.10098.0 Master x64",
"release" : "10.10",
"platformInfo" : "x64",
"osType" : "Windows",
"osInfo" : "Windows 10 x64",
"metabaseSessionTimeout" : "00:00:00.000",
"metabaseStoreBinaryCount" : "3",
"metabaseLocale" : "1049",
"metabaseConnectionPoolMaxCount" : "0"
}
}
public static GetSystemInfoResult GetConnectedInfo(string moniker = null)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetSystemInfo()
{
tArg = new GetSystemInfoArg()
{
metabase = (moniker != null ? new MbId() { id = moniker } : null ),
allowMetabaseNotFound = true
}
};
// Get connection information
var result = somClient.GetSystemInfo(tGet);
return result;
}
See also: