INetworkAcceptLanguage Property |
Gets or sets the Accept-Language request header value.
Namespace:
DotNetBrowser.Net
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax string AcceptLanguage { get; set; }
Property Value
Type:
StringThe Accept-Language value.
Exceptions Exception | Condition |
---|
ArgumentException | The value is set to null or an empty string. |
ObjectDisposedException | The INetwork object has already been disposed. |
Remarks Examples "fr, en-gb;q=0.8, en;q=0.7" would mean: "I prefer French, but
will accept British English and other types of English."
Note, that all languages which are assigned a quality factor
greater than 0 are acceptable.
See Also