Check out example codes for "how to get a list of processes c#". It will help you in understanding the concepts better.
Code Example 1
Process[] processlist = Process.GetProcesses();
foreach (Process theprocess in processlist)
{
Console.WriteLine("Process: {0} ID: {1}", theprocess.ProcessName, theprocess.Id);
}
Learn ReactJs, React Native from akashmittal.com