This documentation is archived and is not being maintained.

HttpServerUtility.UrlEncode Method

Encodes a string for reliable HTTP transmission from the Web server to a client through the URL.

Name Description
HttpServerUtility.UrlEncode (String) URL-encodes a string and returns the encoded string.
HttpServerUtility.UrlEncode (String, TextWriter) URL-encodes a string and sends the resulting output to a TextWriter output stream.
Show: