Click or drag to resize

HttpUtilityUrlEncode(String, Encoding) Method

Encodes a URL string using the specified encoding object.

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static string UrlEncode(
	string str,
	Encoding e
)

Parameters

str  String
The text to encode.
e  Encoding
The Encoding object that specifies the encoding scheme.

Return Value

String
An encoded string.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also