Try WaitHandle.WaitOne(0)
If millisecondsTimeout is zero, the method does not block. It tests the state of the wait handle and returns immediately.
Try WaitHandle.WaitOne(0)
If millisecondsTimeout is zero, the method does not block. It tests the state of the wait handle and returns immediately.