System.Web.HttpUtility Class

Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited.

See Also: HttpUtility Members


public sealed class HttpUtility


The System.Web.HttpUtility class is used internally by the System.Web.HttpServerUtility class, whose methods and properties are exposed through the intrinsic ASP.NET HttpContext.Server object. Additionally, the System.Web.HttpUtility class contains encoding and decoding utility methods that are not accessible from the HttpContext.Server.

To encode or decode values outside of a web application, use the System.Net.WebUtility class.


Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,