Я могу получить данные об использовании ЦП и ОЗУ следующим образом:
Код: Выделить всё
var cpu = new PerformanceCounter("Process", "% Processor Time", ProcessName, true)
var ram = new PerformanceCounter("Process", "Working Set - Private", ProcessName, true);
Console.WriteLine($"CPU = {cpu.NextValue() / Environment.ProcessorCount} %");
Console.WriteLine($"RAM = {ram.NextValue() / 1024 / 1024} MB");
Как показано в диспетчере задач:

Подробнее здесь: https://stackoverflow.com/questions/535 ... in-c-sharp
Мобильная версия