Click or drag to resize

LoadUrlParametersHttpHeaders Property

Gets or sets the HTTP headers that will be sent with the request.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.14
Syntax
C#
public IEnumerable<HttpHeader> HttpHeaders { get; set; }

Property Value

Type: IEnumerableHttpHeader
The HTTP headers that will be sent with the request. Cannot be null or contain null items.
Exceptions
ExceptionCondition
ArgumentExceptionThe value is null or contains null items.
Remarks
Setting certain forbidden headers (such as 'Referer', 'Host', 'Content-Length', 'Keep-Alive', 'Proxy-headers', 'TE', etc.) will have no effect due to browser security restrictions. These headers are controlled by the browser and cannot be set for LoadUrlParameters for security reasons.
See Also