UtilitiesHtmlEncode Method |
HtmlEncode a string.
In Fiddler itself, this is a simple wrapper for the System.Web.HtmlEncode function.
The .NET3.5/4.0 Client Profile doesn't include System.Web, so we must provide our
own implementation of HtmlEncode for FiddlerCore's use.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string HtmlEncode(
string sInput
)
Public Shared Function HtmlEncode (
sInput As String
) As String
public:
static String^ HtmlEncode(
String^ sInput
)
Parameters
- sInput
- Type: SystemString
String to encode
Return Value
Type:
StringString encoded according to the rules of HTML Encoding, or null.
See Also