Getting data from packets.

Dec 27, 2014 at 2:57 PM
How to get data on pcapdotnet like wireshark does in its hexadecimal or binary format?
Dec 28, 2014 at 7:59 PM
Hi Barack1234,

It might be easier if you give more details on what you want to achieve.
Maybe some example.

See question 3 in the FAQ:

Question 3: How can I convert a DataSegment (or a Datagram) to byte[]?
Answer: Just use ToMemoryStream() or Write() methods.

I hope this helps,