Coder UrlDecode Method C# API
Decodes a percent-encoded string.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax

public static string UrlDecode(
	string urlFragment
)

Parameters

urlFragment
Type: System String
The text to decode; this is usually a portion of a Url.

Return Value

The decoded text.
Remarks

Converts percent-encoded characters such as %3F into the character they represent, in this case the question mark character ?.

For more information about percent-encoding, refer to OnlineRFC 3986.

Examples

The following example demonstrates decoding a percent-encoded string.
string decoded = Coder.UrlDecode("search%3Fq%3Dcamera");
// decoded == search?q=camera
See Also