A Use the following code:
For Each curProcess As Process In Process.GetSystemProcesses()
Console.WriteLine(curProcess.ProcessName)
Next
B Use the following code:
For Each curProcess As Process In Process.GetAllProcesses()
Console.WriteLine(curProcess.ProcessName)
Next
C Use the following code:
For Each curProcess As Process In Process.GetProcesses()
Console.WriteLine(curProcess.ProcessName)
Next
D Use the following code:
For Each curProcess As Process In Thread.GetProcesses()
Console.WriteLine(curProcess.ProcessName)
Next