Question

in Process A I need to receive an event from Proces B. I decided to use EventWaitHandle. In both processes i write this code:

var evhandle = new EventWaitHandle(false, EventResetMode.AutoReset,"MyGUID1221");

then in process A i invoke Set() method:

evhandle.Set();

How i can to receive "MyGUID1221" event in process B and do some actions? How to make "MyGUID1221"Listener?

Thanks.

Was it helpful?

Solution

The "MyGUID121" is just the name for the system-wide event. You listen (read wait) for the event by using the WaitOne - method

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top