HttpUtility.UrlEncodeToBytes Method
.NET Framework 4.5
Converts a string or a byte array into an encoded array of bytes.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
UrlEncodeToBytes(Byte[]) | Converts an array of bytes into a URL-encoded array of bytes. |
|
UrlEncodeToBytes(String) | Converts a string into a URL-encoded array of bytes. |
|
UrlEncodeToBytes(String, Encoding) | Converts a string into a URL-encoded array of bytes using the specified encoding object. |
|
UrlEncodeToBytes(Byte[], Int32, Int32) | Converts an array of bytes into a URL-encoded array of bytes, starting at the specified position in the array and continuing for the specified number of bytes. |