Mar 3, 2015 at 12:38 PM
i want to capture the ipv6 Datagram but in the library there is no Ipv6Datagram such Ipv4Datagram. How can i do to capture Ipv6 datagram?
Mar 4, 2015 at 11:55 AM
Please see the following..

using PcapDotNet.Packets.IpV6;

IpV6Datagram ip6 = packet.Ethernet.IpV6;
string strSource = ip6.Source.ToString();
    string             strDest = ip6.CurrentDestination.ToString();

But I am looking for how to get the PRotocol same as we get in wireshark. LLMNR,MDNS ect...
Mar 13, 2015 at 9:49 AM

IpV6Datagram.NextHeader will give you the protocol of the first extension header or the IPv6 payload in case there are no extension headers.
If there are extension headers, you can use IpV6Datagram.ExtensionHeaders.NextHeader to get the payload protocol.

I hope this helps,