Lets say I have a string like this:
"003C428181A5A581A5BD9981423C0000"
I need a byte array of that string.
The simplest thing I tried was String.GetBytes("UTF8")
But that didnt work, it gave me the ASCII values of each in an array, and thats not what I want. I want 00 Hex = 0 in the byte array, and 3C is 60 in the byte array.
How do I do this? thanks.
"003C428181A5A581A5BD9981423C0000"
I need a byte array of that string.
The simplest thing I tried was String.GetBytes("UTF8")
But that didnt work, it gave me the ASCII values of each in an array, and thats not what I want. I want 00 Hex = 0 in the byte array, and 3C is 60 in the byte array.
How do I do this? thanks.