Click or drag to resize

HttpUtilityUrlEncodeToBytes(String, Encoding) Method

Converts a string into a URL-encoded array of bytes using the specified encoding object.

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

Parameters

str  String
The string to encode
e  Encoding
An encoded array of bytes

Return Value

Byte
An encoded array of bytes.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also