예제 #1
0
        private void SendWiresharkGlobalHeader()
        {
            var p  = new PcapGlobalHeader(pcapNetId);
            var bh = p.ToByteArray();

            wiresharkPipe.Write(bh, 0, bh.Length);
        }
예제 #2
0
        public void WiresharkGlobalHeader()
        {
            var p  = new PcapGlobalHeader(65535, pcap_netid);
            var bh = p.ToByteArray();

            wiresharkPipe.Write(bh, 0, bh.Length);
        }