private GetIcmpStatistics ( Win32_MIBICMPINFO &pStats, int dwFamily ) : int | ||
pStats | Win32_MIBICMPINFO | |
dwFamily | int | |
리턴 | int |
static extern int GetIcmpStatistics (out Win32_MIBICMPINFO pStats, int dwFamily);
public override IcmpV4Statistics GetIcmpV4Statistics() { if (!System.Net.Sockets.Socket.SupportsIPv4) { throw new NetworkInformationException(); } Win32_MIBICMPINFO info; Win32IPGlobalProperties.GetIcmpStatistics(out info, 2); return(new Win32IcmpV4Statistics(info)); }