L
LS
I use winpcap in dotnet to capture packets from the wire.
I have them in a byte() array. (variable rawbytes())
How do I convert them to a readable string?
I have for example following values
0,208,65,11,96,147,0,6,91,184, ...
I tried
For i = 0 To Packethdr.Caplength - 1
ch = System.Convert.ToChar(Rawbytes(i))
str.Concat(ch.ToString)
Next
This return an empty string.
Can anybody help me?
Regards
Geert
I have them in a byte() array. (variable rawbytes())
How do I convert them to a readable string?
I have for example following values
0,208,65,11,96,147,0,6,91,184, ...
I tried
For i = 0 To Packethdr.Caplength - 1
ch = System.Convert.ToChar(Rawbytes(i))
str.Concat(ch.ToString)
Next
This return an empty string.
Can anybody help me?
Regards
Geert