HttpUtility.UrlEncode Method

Encodes a URL string.

Name Description
HttpUtility.UrlEncode (Byte[]) Converts a byte array into an encoded URL string.
HttpUtility.UrlEncode (String) Encodes a URL string.
HttpUtility.UrlEncode (String, Encoding) Encodes a URL string using the specified encoding object.
HttpUtility.UrlEncode (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.