Coder PostDataEncode Method (String, String)C# API
Encodes a string so that it can be sent to a web server as POST data, specifying the characters which shouldn't be encoded.

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

public static string PostDataEncode(
	string data,
	string charactersAllowedInPostedForm
)

Parameters

data
Type: System String
The text to encode.
charactersAllowedInPostedForm
Type: System String
A string containing characters that can be present in POST data without being percent-encoded (see DefaultCharactersAllowedInPostedForm).

Return Value

The encoded text.
Remarks

This is done using percent-encoding, in a similar way to UrlEncode(String), with the exception that space characters will be converted to +, not %20
See Also