2 writes to pingEvent
System (2)
net\System\Net\NetworkInformation\ping.cs (2)
155pingEvent = null; 663pingEvent = new ManualResetEvent (false);
7 references to pingEvent
System (7)
net\System\Net\NetworkInformation\ping.cs (7)
153if (pingEvent != null) { 154pingEvent.Close(); 662if (pingEvent == null) 665pingEvent.Reset(); 667registeredWait = ThreadPool.RegisterWaitForSingleObject (pingEvent, new WaitOrTimerCallback (PingCallback), this, -1, true); 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); 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);