Any way to convert byte array into .pcap file?

haseena

Member
Joined
Feb 3, 2016
Messages
9
Programming Experience
Beginner
I need to save a byte array into a .pcap file. Any way to do that?

I am using Visual Studio 2015 for coding
 
If that byte array actually represents a PCAP file then you simply call File.WriteAllBytes. If it doesn't represent a PCAP file then you will have to write code to convert it to the required format before writing it. We'd have to be psychic to know how to do that.
 
Back
Top Bottom