开发者

How to know an application launch in windows? [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

Detecting the launch of a application

Can I register a listener and get notification when an application lau开发者_开发技巧nch?

I know that in Mac NSWorkSpace can do it, how about windows?


You can put a Forever loop while(true) { if(Process.GetProcessesByName("TheSoftwareYouNeed").Length > 0) Notify();//Here you can call a method which handles with notyfind }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜