本文介绍了将数据包写入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在文件上写一个数据包,但是它不起作用.
I would like to write a packet on a file but it doesn''t work.
CaptureFileWriterDevice captureFileReader = new CaptureFileWriterDevice(devices[i], "D:\\Documents and Settings\\amin\\Mes documents\\file.pcap");
请我帮忙
错误1:最好的重载方法"SharpPcap.LibPcap.CaptureFileWriterDevice.CaptureFileWriterDevice(SharpPcap.LibPcap.LibPcapLiveDevice,string)"具有一些无效的参数
please I need help
Error 1: The overloaded method that best ''SharpPcap.LibPcap.CaptureFileWriterDevice.CaptureFileWriterDevice (SharpPcap.LibPcap.LibPcapLiveDevice, string)'' has some invalid arguments
推荐答案
这篇关于将数据包写入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!