J
Jerry Spence1
I am tring to send out of a TCP port, the hext digits:
FF010040000042
I can't quite get the syntax in my head:
Command="FFH010040000042"
Dim sendBytes As [Byte]() = System.Text.Encoding.ASCII.GetBytes(Command)
networkStream.Write(sendBytes, 0, sendBytes.Length)
This isn't going to work as it will send the ascii characters instead of
the hex values.
Can anyone help please?
-Jerry
FF010040000042
I can't quite get the syntax in my head:
Command="FFH010040000042"
Dim sendBytes As [Byte]() = System.Text.Encoding.ASCII.GetBytes(Command)
networkStream.Write(sendBytes, 0, sendBytes.Length)
This isn't going to work as it will send the ascii characters instead of
the hex values.
Can anyone help please?
-Jerry