.NET Framework Class Library
HttpUtility..::.UrlEncode Method

Encodes a URL string. The UrlEncode method can be used to encode the entire URL, including query-string values.

Overload List

  NameDescription
Public methodStatic memberUrlEncode(array<Byte>[]()[])Converts a byte array into an encoded URL string.
Public methodStatic memberUrlEncode(String)Encodes a URL string.
Public methodStatic memberUrlEncode(String, Encoding)Encodes a URL string using the specified encoding object.
Public methodStatic memberUrlEncode(array<Byte>[]()[], Int32, Int32)Converts a byte array into a URL-encoded string, starting at the specified position in the array and continuing for the specified number of bytes.
Top
See Also

Reference

Tags :


Page view tracker