System.Web Namespace
Provides methods for encoding and decoding URLs when processing Web requests.
| Visibility |
Constructor |
Parameters |
| public |
HttpUtility |
( )
|
| Visibility |
Name |
Parameters |
Return Type |
| public static |
HtmlAttributeEncode |
(
String
s
,
TextWriter
output
)
|
Void
|
| public static |
HtmlAttributeEncode |
(
String
s
)
|
String
|
| public static |
HtmlDecode |
(
String
s
)
|
String
|
| public static |
HtmlDecode |
(
String
s
,
TextWriter
output
)
|
Void
|
| public static |
HtmlEncode |
(
String
s
)
|
String
|
| public static |
HtmlEncode |
(
String
s
,
TextWriter
output
)
|
Void
|
| public static |
ParseQueryString |
(
String
query
,
Encoding
encoding
)
|
NameValueCollection
|
| public static |
ParseQueryString |
(
String
query
)
|
NameValueCollection
|
| public static |
UrlDecode |
(
Byte
bytes
,
Int32
offset
,
Int32
count
,
Encoding
e
)
|
String
|
| public static |
UrlDecode |
(
Byte
bytes
,
Encoding
e
)
|
String
|
| public static |
UrlDecode |
(
String
str
,
Encoding
e
)
|
String
|
| public static |
UrlDecode |
(
String
str
)
|
String
|
| public static |
UrlDecodeToBytes |
(
String
str
)
|
Byte
|
| public static |
UrlDecodeToBytes |
(
Byte
bytes
)
|
Byte
|
| public static |
UrlDecodeToBytes |
(
String
str
,
Encoding
e
)
|
Byte
|
| public static |
UrlDecodeToBytes |
(
Byte
bytes
,
Int32
offset
,
Int32
count
)
|
Byte
|
| public static |
UrlEncode |
(
Byte
bytes
)
|
String
|
| public static |
UrlEncode |
(
Byte
bytes
,
Int32
offset
,
Int32
count
)
|
String
|
| public static |
UrlEncode |
(
String
str
,
Encoding
e
)
|
String
|
| public static |
UrlEncode |
(
String
str
)
|
String
|
| public static |
UrlEncodeToBytes |
(
String
str
)
|
Byte
|
| public static |
UrlEncodeToBytes |
(
Byte
bytes
,
Int32
offset
,
Int32
count
)
|
Byte
|
| public static |
UrlEncodeToBytes |
(
String
str
,
Encoding
e
)
|
Byte
|
| public static |
UrlEncodeToBytes |
(
Byte
bytes
)
|
Byte
|
| public static |
UrlEncodeUnicode |
(
String
str
)
|
String
|
| public static |
UrlEncodeUnicodeToBytes |
(
String
str
)
|
Byte
|
| public static |
UrlPathEncode |
(
String
str
)
|
String
|
|
HttpUtility.methodName ( arguments );
HttpUtility.methodName ( arguments ) |
| |
C# |
VB |
Type var = HttpUtility.methodName ( arguments );
Dim var as Type = HttpUtility.methodName ( arguments ) |
| |
C# |
VB |
|
|