Is it possible to get the progID of a running process? Using C#?
User Process class members.
Process
These functions will help-
GetProcesses GetProcessesByName
GetProcesses
GetProcessesByName
To get current process, use-
GetCurrentProcess
What is progID? Seems that you need System.Diagnostics.Process.GetCurrentProcess().Id.
progID
System.Diagnostics.Process.GetCurrentProcess().Id
Copyright © 2021 Jogjafile Inc.
User
Process
class members.These functions will help-
GetProcesses
GetProcessesByName
To get current process, use-
GetCurrentProcess