문제

im making a c# packet analyzer that would open a pcap file which was created by wireshark...and load the packets into the graphical list.soo,how can i make sharppcap parse the file and show the packets(even in a console window) thanks

도움이 되었습니까?

해결책

Here is a sample that shows how to go about doing what you are asking for.

ReadFromFile

I used this about a year ago for a project I was working on. In the end, there was a issued with that library ( sorry, I cannot remember the exact details ). So in the end, I had to use WinPCap and pInvoke a native C++ library. But the open and display of the pcap file worked fine with SharpPcap

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top