Retrieve Server Information
Applies To: Windows Server 2012 Essentials
Retrieves the basic server information to the client, such as the server name and the server SKU. This method requires authentication.
URI Template
GET services/builtin/ServerManagement.svc/ServerInformation
Sample Request
GET https://www.contoso.com/services/builtin/ServerManagement.svc/ServerInformation HTTP/1.1
Accept: application/xml
Cookie: ASP.NET_SessionId=********************
Canary: *********************
Host: domainname
Sample Response
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 623
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/8.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
Date: Tue, 02 Jul 2013 03:06:59 GMT
<ServerInfo xmlns="http://contracts.microsoft.com/WindowsServerEssentials/2011/09/WebApi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<IsMediaStreamingServiceAvailable>true</IsMediaStreamingServiceAvailable>
<IsTsGatewayEnabled>true</IsTsGatewayEnabled>
<ServerDomainGuid>13581ae6-2516-48c8-ac4a-eaa9a1bf6c42</ServerDomainGuid>
<ServerGuid>1ec23760-74ac-4fef-88eb-35522215e212</ServerGuid>
<ServerInternetDomainName>manybug.cn</ServerInternetDomainName>
<ServerName>QSVR3</ServerName>
<ServerSku>50</ServerSku>
<ServerUtcNow>2013-07-02T03:06:59.5269025Z</ServerUtcNow>
<ServerVersion>6.3.9431.0</ServerVersion>
</ServerInfo>
Remarks
The returned ServerName
field is used for every web service method that accesses files and requires a path variable. An example path would be \\servername\Company\a.txt
.