
HttpValidationStatus | 505
System.Web
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
HttpUtility
System.Web (system.web.dll)
sealed class
This class provides static (shared) helper methods. The UrlEncode( ) and UrlDecode( )
methods are the same as those provided by the HttpServerUtility class for encoding a string
into a format that’s safe for use in a URL. Additionally, a UrlEncodeToBytes( ) method is
provided to convert a string into an array of bytes and a UrlEncodeUnicode( ) method to
convert a string into a Unicode string.
HttpValidationStatus
System.Web (system.web.dll)
serializable
enum
This enumeration is used by the HttpCacheValidateHandler delegate. It allows you to specify
whether a cached page should remain valid or be invalidated (and then recreated).
public sealed class HttpUtility {
// Public Constructors
public HttpUtility();
// Public Static Methods
public static string HtmlAttributeEncode(string s);
public static void HtmlAttributeEncode(string s, System.IO.TextWriter output);
public static string HtmlDecode(string s);
public static void HtmlDecode(string s, System.IO.TextWriter output);
public static string HtmlEncode(string s);
public static void HtmlEncode(string s, System.IO.TextWriter output);
public static string UrlDecode(byte[ ] bytes, System.Text.Encoding e);
public static string UrlDecode(byte[ ...