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

System.Net.HttpWebResponse.GetResponseHeader Method

Returns a specified header from the current response.

public string GetResponseHeader (string headerName)

Parameters

headerName
A string that specifies the header value to return.

Returns

A string containing the value of the specified header.

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed.

Remarks

Documentation for this section has not yet been entered.

Requirements

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