Closed a6datta closed 2 years ago
I can get the device details as per the example (how can I get a list of devices in another IP)
I assume you mean RPCAP
Use PcapInterface.GetAllPcapInterfaces(IPEndPoint, RemoteAuthentication)
See https://github.com/dotpcap/packetnet for how to decode packets.
I was able to do the following with pcap.net. I have not found a way to do the same with sharppcap. So I actually have two questions. How can I get the SIP header with sharppcap and can I monitor another IP within the same network.
I am trying to get the details when a VOIP phone rings. The hardware phone is connected to the same network.
I can get the device details as per the example (how can I get a list of devices in another IP)
IList<LivePacketDevice> allDevices = LivePacketDevice.AllLocalMachine;
and get the SIP header