Click or drag to resize

PostDataExtensionsAddData Method (IPostData, String, Encoding)

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

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.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