WebClient.ResponseHeaders Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a collection of header name/value pairs associated with the response.
Namespace: System.Net
Assembly: System.Net (in System.Net.dll)
Syntax
'Declaration
Public ReadOnly Property ResponseHeaders As WebHeaderCollection
public WebHeaderCollection ResponseHeaders { get; }
Property Value
Type: System.Net.WebHeaderCollection
A WebHeaderCollection containing header name/value pairs associated with the response, or nulla null reference (Nothing in Visual Basic) if no response has been received.
Remarks
The ResponseHeaders property contains a WebHeaderCollection instance containing header information the WebClient receives with the response.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.