3 writes to handlePingV4
System (3)
net\System\Net\NetworkInformation\ping.cs (3)
143handlePingV4 = null; 633handlePingV4 = UnsafeNetInfoNativeMethods.IcmpCreateFile (); 635handlePingV4 = null;
6 references to handlePingV4
System (6)
net\System\Net\NetworkInformation\ping.cs (6)
141if (handlePingV4 != null) { 142handlePingV4.Close (); 632if (!ipv6 && handlePingV4 == null) { 634if (handlePingV4.IsInvalid) { 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);