34 references to UnsafeNetInfoNativeMethods
System (34)
net\System\Net\_SafeNetHandles.cs (1)
411return UnsafeNetInfoNativeMethods.IcmpCloseHandle(handle);
net\System\Net\Internal.cs (2)
216uint result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses(AddressFamily.Unspecified, (uint)gaaFlags, IntPtr.Zero, SafeLocalFree.Zero, ref size); 222result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses(AddressFamily.Unspecified, (uint)gaaFlags, IntPtr.Zero, buffer, ref size);
net\System\Net\NetworkInformation\ping.cs (6)
633handlePingV4 = UnsafeNetInfoNativeMethods.IcmpCreateFile (); 640handlePingV6 = UnsafeNetInfoNativeMethods.Icmp6CreateFile(); 675error = (int)UnsafeNetInfoNativeMethods.IcmpSendEcho2 (handlePingV4, pingEvent.SafeWaitHandle, IntPtr.Zero, IntPtr.Zero, (uint)address.m_Address, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout); 678error = (int)UnsafeNetInfoNativeMethods.IcmpSendEcho2 (handlePingV4, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, (uint)address.m_Address, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout); 686error = (int)UnsafeNetInfoNativeMethods.Icmp6SendEcho2 (handlePingV6, pingEvent.SafeWaitHandle, IntPtr.Zero, IntPtr.Zero, sourceAddr, remoteAddr.m_Buffer, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout); 689error = (int)UnsafeNetInfoNativeMethods.Icmp6SendEcho2 (handlePingV6, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, sourceAddr, remoteAddr.m_Buffer, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout);
net\System\Net\NetworkInformation\SafeCancelMibChangeNotify.cs (1)
18uint err = UnsafeNetInfoNativeMethods.CancelMibChangeNotify2(base.handle);
net\System\Net\NetworkInformation\SafeFreeMibTable.cs (1)
14UnsafeNetInfoNativeMethods.FreeMibTable(base.handle);
net\System\Net\NetworkInformation\SystemIcmpV4Statistics.cs (1)
20uint result = UnsafeNetInfoNativeMethods.GetIcmpStatistics(out stats);
net\System\Net\NetworkInformation\SystemIcmpV6Statistics.cs (1)
39uint result = UnsafeNetInfoNativeMethods.GetIcmpStatisticsEx(out stats,AddressFamily.InterNetworkV6);
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (10)
31uint result = UnsafeNetInfoNativeMethods.GetNetworkParams(SafeLocalFree.Zero,ref size); 37result = UnsafeNetInfoNativeMethods.GetNetworkParams(buffer,ref size); 161result = UnsafeNetInfoNativeMethods.GetTcpTable(SafeLocalFree.Zero, ref size, true); 167result = UnsafeNetInfoNativeMethods.GetTcpTable(buffer, ref size, true); 205result = UnsafeNetInfoNativeMethods.GetExtendedTcpTable(SafeLocalFree.Zero, ref size, true, 213result = UnsafeNetInfoNativeMethods.GetExtendedTcpTable(buffer, ref size, true, 267result = UnsafeNetInfoNativeMethods.GetUdpTable(SafeLocalFree.Zero, ref size, true); 272result = UnsafeNetInfoNativeMethods.GetUdpTable(buffer, ref size, true); 309result = UnsafeNetInfoNativeMethods.GetExtendedUdpTable(SafeLocalFree.Zero, ref size, true, 316result = UnsafeNetInfoNativeMethods.GetExtendedUdpTable(buffer, ref size, true,
net\System\Net\NetworkInformation\SystemIPGlobalStatistics.cs (1)
22uint result = UnsafeNetInfoNativeMethods.GetIpStatisticsEx(out stats, family);
net\System\Net\NetworkInformation\SystemIPInterfaceStatistics.cs (1)
36uint result = UnsafeNetInfoNativeMethods.GetIfEntry2(ref ifRow);
net\System\Net\NetworkInformation\SystemIPv4InterfaceProperties.cs (2)
83uint result = UnsafeNetInfoNativeMethods.GetPerAdapterInfo(index,SafeLocalFree.Zero,ref size); 88result = UnsafeNetInfoNativeMethods.GetPerAdapterInfo(index,buffer,ref size);
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (3)
47int error = (int)UnsafeNetInfoNativeMethods.GetBestInterfaceEx(address.m_Buffer, out index); 89uint result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses( 96result = UnsafeNetInfoNativeMethods.GetAdaptersAddresses(
net\System\Net\NetworkInformation\SystemTcpStatistics.cs (1)
18uint result = UnsafeNetInfoNativeMethods.GetTcpStatisticsEx(out stats, family);
net\System\Net\NetworkInformation\SystemUdpStatistics.cs (1)
21uint result = UnsafeNetInfoNativeMethods.GetUdpStatisticsEx(out stats, family);
net\System\Net\NetworkInformation\TeredoHelper.cs (2)
86err = UnsafeNetInfoNativeMethods.NotifyStableUnicastIpAddressTable(AddressFamily.Unspecified, 176UnsafeNetInfoNativeMethods.FreeMibTable(table);