System.Web.HttpUtility Class Reference

Static Public Member Functions

static void HtmlAttributeEncode (string s, TextWriter output)
 
static string HtmlAttributeEncode (string s)
 
static string UrlDecode (string str)
 
static string UrlDecode (string str, Encoding e)
 
static string UrlDecode (byte[] bytes, Encoding e)
 
static string UrlDecode (byte[] bytes, int offset, int count, Encoding e)
 
static byte[] UrlDecodeToBytes (byte[] bytes)
 
static byte[] UrlDecodeToBytes (string str)
 
static byte[] UrlDecodeToBytes (string str, Encoding e)
 
static byte[] UrlDecodeToBytes (byte[] bytes, int offset, int count)
 
static string UrlEncode (string str)
 
static string UrlEncode (string str, Encoding e)
 
static string UrlEncode (byte[] bytes)
 
static string UrlEncode (byte[] bytes, int offset, int count)
 
static byte[] UrlEncodeToBytes (string str)
 
static byte[] UrlEncodeToBytes (string str, Encoding e)
 
static byte[] UrlEncodeToBytes (byte[] bytes)
 
static byte[] UrlEncodeToBytes (byte[] bytes, int offset, int count)
 
static string UrlEncodeUnicode (string str)
 
static byte[] UrlEncodeUnicodeToBytes (string str)
 
static string HtmlDecode (string s)
 Decodes an HTML-encoded string and returns the decoded string. More...
 
static void HtmlDecode (string s, TextWriter output)
 Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. More...
 
static string HtmlEncode (string s)
 
static void HtmlEncode (string s, TextWriter output)
 HTML-encodes a string and sends the resulting output to a TextWriter output stream. More...
 
static string HtmlEncode (object value)
 
static string JavaScriptStringEncode (string value)
 
static string JavaScriptStringEncode (string value, bool addDoubleQuotes)
 
static string UrlPathEncode (string str)
 
static NameValueCollection ParseQueryString (string query)
 
static NameValueCollection ParseQueryString (string query, Encoding encoding)
 

Member Function Documentation

◆ HtmlDecode() [1/2]

static string System.Web.HttpUtility.HtmlDecode ( string  s)
static

Decodes an HTML-encoded string and returns the decoded string.

Parameters
sThe HTML string to decode.
Returns
The decoded text.

◆ HtmlDecode() [2/2]

static void System.Web.HttpUtility.HtmlDecode ( string  s,
TextWriter  output 
)
static

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.

Parameters
sThe HTML string to decode
outputThe TextWriter output stream containing the decoded string.

◆ HtmlEncode()

static void System.Web.HttpUtility.HtmlEncode ( string  s,
TextWriter  output 
)
static

HTML-encodes a string and sends the resulting output to a TextWriter output stream.

Parameters
sThe string to encode.
outputThe TextWriter output stream containing the encoded string.

The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/OnlineCheck/OnlineCheckPro/Assets/Plugins/crosstales/OnlineCheck/Extras/SpeedTestNET/Scripts/Mono/HttpUtility.cs