| ComponentSpace Proxy Class Library Reference |
|
Socks4Command.ToByteArray Method
Converts the command to an array of bytes in SOCKS 4 format.
[Visual Basic]
Public Function ToByteArray() As
Byte()
[C#]
public
byte[] ToByteArray();
Return Value
The command as an arrary of bytes in SOCKS 4 format.
Exceptions
| Exception Type |
Condition |
|
ProxyException
|
Thrown when the command cannot be converted to a byte array. |
See Also
Socks4Command Class | ComponentSpace.Proxy.Socks4 Namespace