Check it open the file?

My program runs in the background. When opening a specific file, it hides it and gives MessageBox. Help to implement. (c#)
July 2nd 19 at 18:15
3 answers
July 2nd 19 at 18:17
to dig aside winapi findwindow
July 2nd 19 at 18:19
Interprocess communication (IPC) mechanisms, and the sea. Well, what question, such answer. Do not try to look from the side and think, is it possible to understand something?
July 2nd 19 at 18:21
To listen open the file like this:

Further, if you need to hide it, for example, need to search all open window titles, for example

Further, to hide a window, for example so:

But why?..

Find more questions by tags C#