Click or drag to resize

PostDataExtensionsGetCharSet Method

Version 102.0.100
A convenience extension method that extracts the Character set from the content-type header. Can be used in conjuncation with GetBody(IPostDataElement, String)

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: (
public static string GetCharSet(
	this IRequest request


Type: CefSharpIRequest
the request

Return Value

Type: String
character set e.g. UTF-8

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRequest. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also