How to get the size of available system memory?

后端 未结 5 1035
遥遥无期
遥遥无期 2020-12-02 15:27

Is it possible to get the size of system available memory in C#.NET? if yes how?

5条回答
  •  难免孤独
    2020-12-02 15:46

    Using the performance counters accessible via System.Diagnostics will be one option.

    Refer http://www.dotnetspider.com/resources/4612-Find-Memory-usage-CPU-usage.aspx

    Hope this helps!

提交回复
热议问题