HttpUtilityUrlEncodeToBytes(String, Encoding) Method |
Converts a string into a URL-encoded array of bytes using the specified encoding object.
Namespace: Crestron.SimplSharp.NetAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static byte[] UrlEncodeToBytes(
string str,
Encoding e
)
Parameters
- str String
- The string to encode
- e Encoding
- An encoded array of bytes
Return Value
ByteAn encoded array of bytes.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also