Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AntiXssEncoder.HtmlFormUrlEncode Method

.NET Framework 4.6 and 4.5

Encodes the specified string for use in form submissions whose MIME type is "application/x-www-form-urlencoded".

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member HtmlFormUrlEncode(String) Encodes the specified string for use in form submissions whose MIME type is "application/x-www-form-urlencoded".
Public method Static member HtmlFormUrlEncode(String, Int32) Encodes the specified string for use in form submissions whose MIME type is "application/x-www-form-urlencoded" by using the specified code page.
Public method Static member HtmlFormUrlEncode(String, Encoding) Encodes the specified string for form submissions whose MIME type is "application/x-www-form-urlencoded" by using the specified character encoding type.
Top
Show:
© 2015 Microsoft