Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited.
See Also: HttpUtility Members
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.