Response CharSet Property C# API
Gets the value of the "charset" parameter specified in the "Content-Type" HTTP response header.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.5.77 (1.0.0.0)
Syntax

public string CharSet { get; }

Field Value

The charset extracted from the "Content-Type" header, or an empty string if none was found.
Examples

The following example demonstrates the case where the "Content-Type" header is as follows:
Content-Type: text/html; charset=utf-8
This property would have the value "utf-8". If no charset is specifed, or if there is no "Content-Type" header, then the value of this property would be an empty string.
See Also