A System.Net.WebHeaderCollection containing the header information returned with the response.
Type Reason ObjectDisposedException The current instance has been disposed.
The HttpWebResponse.Headers property is a collection of name/value pairs that contain the HTTP header values returned with the response. Common header information returned from the Internet resource is exposed as properties of the System.Net.HttpWebResponse class. The following table lists common headers that the API exposes as properties.
Content-Encoding | |
Content-Length | |
Content-Type | |
Last-Modified | |
Server |