开发者

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

开发者 https://www.devze.com 2023-04-04 02:17 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: Detecting the launch of a application
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

精彩评论

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