tags:

views:

88

answers:

2

Is it possible to get the progID of a running process? Using C#?

+1  A: 

User Process class members.

These functions will help-

GetProcesses
GetProcessesByName


To get current process, use-

GetCurrentProcess

Nayan
A: 

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

Vlad