0
Reply

To determine if running process is started by system or user

Sanjeeb Sapkota

Sanjeeb Sapkota

Apr 17 2016 6:04 AM
324

I have problem with getting specific name of process, the problem with the process is i want to list out those process which is started by user. If the process is already running while start our PC then it should not list out.

I use this c# code for getting process name

foreach (Process theprocess in processlist) { MessageBox.Show("Process: " + theprocess.ProcessName); }

but it shows me all the running process. But i need to filter this process list.