Java.Net.URLEncoder Class
This class is used to encode a string using the format required by application/x-www-form-urlencoded MIME content type.

See Also: URLEncoder Members

Syntax

[Android.Runtime.Register("java/net/URLEncoder", DoNotGenerateAcw=true)]
public class URLEncoder : Java.Lang.Object

Remarks

This class is used to encode a string using the format required by application/x-www-form-urlencoded MIME content type.

All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and characters '.', '-', '*', '_' are converted into their hexadecimal value prepended by '%'. For example: '#' -> %23. In addition, spaces are substituted by '+'.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1