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
.
精彩评论