This documentation is archived and is not being maintained.

IcmpV6Statistics.MembershipReportsSent Property

Gets the number of Internet Group Management Protocol (IGMP) Group Membership Report messages sent.

Namespace:  System.Net.NetworkInformation
Assembly:  System (in System.dll)

public abstract long MembershipReportsSent { get; }

Property Value

Type: System.Int64
An Int64 value that specifies the total number of Group Membership Report messages sent.

Multicast routers send Group Membership Query messages to learn which groups have members on each of their attached physical networks. Host computers respond to a Group Membership Query message by sending a Group Membership Report for each multicast group joined by the host. A host computer can also send a Group Membership Report when it joins a new multicast group. Group Membership Reduction messages are sent when a host computer leaves a multicast group.

The following example displays the value of this property.


        public static void ShowIcmpV6MembershipData ()
        {
            IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
            IcmpV6Statistics statistics = properties.GetIcmpV6Statistics();
            Console.WriteLine ("  Queries .............................. Sent: {0,-10}   Received: {1,-10}", 
            statistics.MembershipQueriesSent, statistics.MembershipQueriesReceived);
            Console.WriteLine ("  Reductions ........................... Sent: {0,-10}   Received: {1,-10}", 
            statistics.MembershipReductionsSent, statistics.MembershipReductionsReceived);
            Console.WriteLine ("  Reports .............................. Sent: {0,-10}   Received: {1,-10}", 
            statistics.MembershipReportsSent, statistics.MembershipReportsReceived);
        }



.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: