asp.net.ph

HttpUtility Class

System.Web Namespace


Provides methods for encoding and decoding URLs when processing Web requests.

HttpUtility Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HttpUtility ( )

Collapse   Methods

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 , TextWriter output ) Void
public static HtmlEncode ( String s ) String
public static HtmlEncode ( Object value ) String
public static JavaScriptStringEncode ( String value , Boolean addDoubleQuotes ) String
public static JavaScriptStringEncode ( String value ) String
public static ParseQueryString ( String query ) NameValueCollection
public static ParseQueryString ( String query , Encoding encoding ) NameValueCollection
public static UrlDecode ( Byte bytes , Int32 offset , Int32 count , Encoding e ) String
public static UrlDecode ( String str ) String
public static UrlDecode ( Byte bytes , Encoding e ) String
public static UrlDecode ( String str , Encoding e ) String
public static UrlDecodeToBytes ( String str , Encoding e ) Byte
public static UrlDecodeToBytes ( String str ) Byte
public static UrlDecodeToBytes ( Byte bytes , Int32 offset , Int32 count ) Byte
public static UrlDecodeToBytes ( Byte bytes ) Byte
public static UrlEncode ( String str , Encoding e ) String
public static UrlEncode ( String str ) String
public static UrlEncode ( Byte bytes , Int32 offset , Int32 count ) String
public static UrlEncode ( Byte bytes ) String
public static UrlEncodeToBytes ( Byte bytes ) Byte
public static UrlEncodeToBytes ( String str , Encoding e ) Byte
public static UrlEncodeToBytes ( Byte bytes , Int32 offset , Int32 count ) Byte
public static UrlEncodeToBytes ( String str ) Byte
public static UrlEncodeUnicode ( String str ) String
public static UrlEncodeUnicodeToBytes ( String str ) Byte
public static UrlPathEncode ( String str ) String

Syntax


To call a method:

HttpUtility.methodName ( arguments );
  C# VB

To return the value of a method:

Type var = HttpUtility.methodName ( arguments );
  C# VB

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph