-1

I have got the string like in hex view

33-35-34-37-36-32-31-31-32-35-32-31-32-38-38

I would like to get it like a string of corresponding values

354762112521288

I see it could be done like here enter image description here

So I am wondering which methods I have to use for it?

I try this for the first value is 33

 string hex = "0x33"; 
 int intValue =  Convert.ToInt32(hex, 16);

but It gives me 51 instead of 3.

Thanks for helping!

DmitryBoyko
  • 32,983
  • 69
  • 281
  • 458

1 Answers1

0

I think,
The hex value for 3 is "3"
"0x33" is 51 in decimal