changing offline pcap files with pcap.net

Nov 27, 2014 at 9:38 AM
hi
i want to write application with c# that give an offline pcap file (not from interfaces) and change the header fields and payload of it with some algorithms (packet trace anonymization).
i dont know that could i use pcap.net library ? and i dont know how could i use it to read a file and exttract files of it an dwrite it in a file?
could anyone help me?