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

System.Net.HttpWebResponse.Server Property

Gets the name of the server that sent the response. [Edit]

public string Server { get; }

Value

A string containing the name of the server that sent the response. [Edit]

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed. [Edit]

Remarks

This property is read-only.

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

[Edit]

Requirements

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