In The Hand
UrlDecode Method (str, e)
NamespacesInTheHand.WebHttpUtilityUrlDecode(String, Encoding)
.NET Components for Mobility
Converts a URL-encoded string into a decoded string, using the specified encoding object.
Declaration Syntax
C#Visual Basic
public static string UrlDecode(
	string str,
	Encoding e
)
Public Shared Function UrlDecode ( _
	str As String, _
	e As Encoding _
) As String
Parameters
str (String)
The string to decode.
e (Encoding)
The Encoding that specifies the decoding scheme.
Return Value
A decoded string.
Remarks
If characters such as blanks and punctuation are passed in an HTTP stream, they might be misinterpreted at the receiving end. URL encoding converts characters that are not allowed in a URL into character-entity equivalents; URL decoding reverses the encoding. For example, when embedded in a block of text to be transmitted in a URL, the characters < and > are encoded as %3c and %3e.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 4.1.0.0