UrlPathEncode Method

Microsoft AntiXSS Library

Collapse imageExpand ImageCopy imageCopyHover image
URL-encodes the path section of a URL string and returns the encoded string.

Namespace: Microsoft.Security.Application
Assembly: AntiXssLibrary40 (in AntiXssLibrary40.dll) Version: 4.2.0.0

Syntax

C#
public static string UrlPathEncode(
	string input
)
Visual Basic
Public Shared Function UrlPathEncode ( _
	input As String _
) As String
Visual C++
public:
static String^ UrlPathEncode(
	String^ input
)

Parameters

input
Type: System..::..String
The text to URL path encode

Return Value

The URL path encoded text.

See Also