Click or drag to resize

PostDataExtensionsAddData Method (IPostData, String, Encoding)

Version 112.3.0
Add a new IPostDataElement that represents the key and value The data is encoded using

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
public static void AddData(
	this IPostData postData,
	string data,
	Encoding encoding = null
)

Parameters

postData
Type: CefSharpIPostData
Post Data
data
Type: SystemString
Data to be encoded for the post data element
encoding (Optional)
Type: System.TextEncoding
Specified Encoding. If null then Default will be used

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPostData. 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