3 writes to handlePingV4
System (3)
net\System\Net\NetworkInformation\ping.cs (3)
143
handlePingV4
= null;
633
handlePingV4
= UnsafeNetInfoNativeMethods.IcmpCreateFile ();
635
handlePingV4
= null;
6 references to handlePingV4
System (6)
net\System\Net\NetworkInformation\ping.cs (6)
141
if (
handlePingV4
!= null) {
142
handlePingV4
.Close ();
632
if (!ipv6 &&
handlePingV4
== null) {
634
if (
handlePingV4
.IsInvalid) {
675
error = (int)UnsafeNetInfoNativeMethods.IcmpSendEcho2 (
handlePingV4
, pingEvent.SafeWaitHandle, IntPtr.Zero, IntPtr.Zero, (uint)address.m_Address, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout);
678
error = (int)UnsafeNetInfoNativeMethods.IcmpSendEcho2 (
handlePingV4
, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, (uint)address.m_Address, requestBuffer, (ushort)buffer.Length, ref ipOptions, replyBuffer, MaxUdpPacket, (uint)timeout);