WebClient.ResponseHeaders Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a collection of header name/value pairs associated with the response.

Namespace: System.Net
Assembly: System.Net (in System.Net.dll)


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 nullNothingnullptra null reference (Nothing in Visual Basic) if no response has been received.


The ResponseHeaders property contains a WebHeaderCollection instance containing header information the WebClient receives with the response.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


WebClient Class

System.Net Namespace