Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UrlPathEncode Method

HttpUtility.UrlPathEncode Method

Do not use; intended only for browser compatibility. Use UrlEncode.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public static string UrlPathEncode(
	string str


Type: System.String

The text to encode.

Return Value

Type: System.String
The encoded text.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft