IcmpV6Statistics::MembershipQueriesSent Property
.NET Framework (current version)
Gets the number of Internet Group management Protocol (IGMP) Group Membership Query messages sent.
Assembly: System (in System.dll)
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.
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
Available since 2.0
Available since 2.0
Show: