开发者

get progid of a running process

开发者 https://www.devze.com 2022-12-29 03:00 出处:网络
Is it possible to get the progID of a running 开发者_如何学JAVAprocess? Using C#?User Process class members.

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

精彩评论

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

关注公众号