IcmpV6Statistics.PacketTooBigMessagesSent Property

Definition

Gets the number of Internet Control Message Protocol version 6 (ICMPv6) Packet Too Big messages sent.

C#
public abstract long PacketTooBigMessagesSent { get; }

Property Value

An Int64 value that specifies the total number of ICMP Packet Too Big messages sent.

Examples

The following example displays the value of this property.

C#
public static void ShowIcmpV6BigPacketData ()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
    Console.WriteLine (" Too Big Packet ........................ Sent: {0,-10}   Received: {1,-10}",
    statistics.PacketTooBigMessagesSent, statistics.PacketTooBigMessagesReceived);
}

Remarks

A router sends a Packet Too Big message when a packet cannot be forwarded because it is larger than the maximum transmission unit (MTU) of the outgoing link.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1