ResponseHeaders Property

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 WebHeaderCollection ResponseHeaders { get; }

Property Value

Type: System.Net.WebHeaderCollection
A WebHeaderCollection containing header name/value pairs associated with the response, or null if no response has been received.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft