In The Hand
UrlEncodeToBytes Method (str, e)
NamespacesInTheHand.WebHttpUtilityUrlEncodeToBytes(String, Encoding)
.NET Components for Mobility
Converts a string into a URL-encoded array of bytes using the specified encoding object.
Declaration Syntax
C#Visual Basic
public static byte[] UrlEncodeToBytes(
	string str,
	Encoding e
)
Public Shared Function UrlEncodeToBytes ( _
	str As String, _
	e As Encoding _
) As Byte()
Parameters
str (String)
The string to encode.
e (Encoding)
The Encoding that specifies the encoding scheme.
Return Value
An encoded array of bytes.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 4.1.0.0