3 writes to handlePingV6
System (3)
net\System\Net\NetworkInformation\ping.cs (3)
148handlePingV6 = null; 640handlePingV6 = UnsafeNetInfoNativeMethods.Icmp6CreateFile(); 642handlePingV6 = null;
6 references to handlePingV6
System (6)
net\System\Net\NetworkInformation\ping.cs (6)
146if (handlePingV6 != null) { 147handlePingV6.Close (); 639else if (ipv6 && handlePingV6 == null) { 641if (handlePingV6.IsInvalid) { 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);