[]
        
(Showing Draft Content)

System.Web.HttpUtility.UrlEncodeToBytes

UrlEncodeToBytes Method

UrlEncodeToBytes(string)

Declaration
public static byte[] UrlEncodeToBytes(string str)
Public Shared Function UrlEncodeToBytes(str As String) As Byte()
Parameters
Type Name Description
string str
Returns
Type Description
byte[]

UrlEncodeToBytes(string, Encoding)

Declaration
public static byte[] UrlEncodeToBytes(string str, Encoding e)
Public Shared Function UrlEncodeToBytes(str As String, e As Encoding) As Byte()
Parameters
Type Name Description
string str
Encoding e
Returns
Type Description
byte[]

UrlEncodeToBytes(byte[])

Declaration
public static byte[] UrlEncodeToBytes(byte[] bytes)
Public Shared Function UrlEncodeToBytes(bytes As Byte()) As Byte()
Parameters
Type Name Description
byte[] bytes
Returns
Type Description
byte[]

UrlEncodeToBytes(byte[], int, int)

Declaration
public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count)
Public Shared Function UrlEncodeToBytes(bytes As Byte(), offset As Integer, count As Integer) As Byte()
Parameters
Type Name Description
byte[] bytes
int offset
int count
Returns
Type Description
byte[]