How can I get the current CPU load (i.e. available system idle time as percent) and also the level of free physical memory using C#?
Without any additional effort on my part (i.e. storing values over a short time series), is it possible to deliver both of these values as a mean average? I.e.:
"What was the average CPU load in the last X seconds?"
"What was the average level of free physical memory in the last X seconds?"