changing offline pcap files with

Nov 27, 2014 at 9:38 AM
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 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?