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)

Syntax

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.

Remarks

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

Platforms

Windows Phone

See Also

Reference

WebClient Class

System.Net Namespace