performancecounter - How to Get available bytes of Windows system using C# -


I am experiencing a problem while retrieving the system's available bytes through the system. Diagnostics namespace and I tried this code.

  DisplayConverterPC = new displayConverter ("memory", "available bytes");   

Even if I'm unable to get access to the above coding, if I get byte available for the system which is not equal to the Task Manager counter.

How can I find a solution for this?

Thanks in advance.

Rajesh

Task Manager for Display Counter Names Tabs on Mapping of Column Names Seeing Given

I say that you are comparing two values ​​that represent various aspects of memory usage: My guess is that you can get physical memory ('available bytes') with performance counter In comparison, the total memory value is comparable.

The solution must either switch the display of 'committed bytes' to total memory, or to compare the data matching with the 'physical memory available' value in efficiency.

Comments