How to get the CPU, RAM and Disk drive usage of the system in C# code?
Please search SO; there are several similiar questions:
How to get the CPU Usage C#
C#: List all processes and their current memory & CPU consumption?
How do I retrieve disk information in C#?