private GetIcmpStatisticsEx ( Win32_MIB_ICMP_EX &pStats, int dwFamily ) : int | ||
pStats | Win32_MIB_ICMP_EX | |
dwFamily | int | |
return | int |
public override IcmpV6Statistics GetIcmpV6Statistics() { if (!System.Net.Sockets.Socket.OSSupportsIPv6) { throw new NetworkInformationException(); } Win32_MIB_ICMP_EX info; Win32IPGlobalProperties.GetIcmpStatisticsEx(out info, 23); return(new Win32IcmpV6Statistics(info)); }