Mono Class Library: System.Net.HttpWebResponse Overview | Members

System.Net.HttpWebResponse.Server Property

Gets the name of the server that sent the response.

public string Server { get; }

Value

A string containing the name of the server that sent the response.

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed.

Remarks

This property is read-only.

The HttpWebResponse.Server property contains the value of the Server header returned with the response.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0