I have a scenario that needs to WaitAny on 2 kernal objects, one is a Process and the other is a ManualResetEvent. But I didn't find the way to get a WaitHandle for a Process, thus I cannot use WaitHandle.WaitAny to wait on both objects.
Anyone can advise? Is there a way that I can do instead of a Platform Invoke?
View Complete Post