How can I get a list of all processes in C# and then for each process current memory and CPU consumption?
Sample code is highly appreciated.