开发者

get progid of a running process

Is it possible to get the progID of a running 开发者_如何学JAVAprocess? Using C#?


User Process class members.

These functions will help-

GetProcesses
GetProcessesByName


To get current process, use-

GetCurrentProcess


What is progID? Seems that you need System.Diagnostics.Process.GetCurrentProcess().Id.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜