Questions tagged [pcapdotnet]
6 questions
1
vote
2 answers
PcapDotNet System.IO.FileNotFoundException in Visual Studio
I have a C# solution (.Net 7.0) where I recently added the PcapDotNet libraries.
Now I run the project and I keep getting this error:
System.IO.FileNotFoundException: 'Could not load file or assembly 'PcapDotNet.Core, Version=0.10.0.20632,…

Paul Efford
- 261
- 4
- 12
1
vote
1 answer
WinPcap equivalent to Wireshark 'dtls' filter
I used to filter packets into Wireshark with the simple dtls argument as filter. (Data Transport Layer Security which is some UDP TLS protocol)
Now, i wanted to do the same using C# and PcapDOTNet wrapper that uses WinPcap filters.
Sadly, i can't…

user3916429
- 562
- 6
- 25
1
vote
1 answer
Duplicate frames in wireshark PcapdotNet
I have created a whole TCP/IP stack using Pcapdotnet and c#.
But in some PCs wire-shark shows duplicate frames for all the packets send with the Pcapdotnet. Please see the screenshot
Here Frame no.s 303, 306 and 308 are sent using pcapdotnet and…

Aby Sebastian Thayil
- 11
- 1
0
votes
0 answers
C# BackgroundWorker CancelAsync() doesn't work
I want to stop BackgroundWorker when click stop button, the Background Worker execute callback function to show message.
I'm trying stop in BackgroundWorker DoWork(), but doesn't work, how should do it?
WorkerSupportsCancellation is true.
…

Rain
- 105
- 1
- 2
- 7
0
votes
1 answer
Adding payload data to ICMP Echo Reply in pcap.net
Using the PCAP.NET library for Windows, I can build an ICMP reply packet according to the documentation:
'''
private static Packet BuildIcmpPacket(string sourcemac, string destmac, string sourceip, string targetip,int id, int seq,byte[] payload)
…

buzzard51
- 1,372
- 2
- 23
- 40
0
votes
0 answers
Extracting protocol and info header in PcapDotNet
I am trying to read packets from a pcap file using PcapDotNet. This file contains captured RTP packets as below.
In my code I have to extract G711 and H264 packets and write to different files.
How can I find this information?
private static…

Manjoor
- 4,091
- 10
- 43
- 67