可能重复:
C# - How do you get total amount of RAM the computer has?
C#: How to get the size of available system memory?如何发现系统上安装了多少RAM?
我怎么能发现多少RAM,在系统上安装,使用C#?
可能重复:
C# - How do you get total amount of RAM the computer has?
C#: How to get the size of available system memory?如何发现系统上安装了多少RAM?
我怎么能发现多少RAM,在系统上安装,使用C#?
添加到Microsoft.VisualBasic程序的引用,然后使用ComputerInfo.TotalPhysicalMemory
如何添加?谢谢 – user1634465
在这里解释:http://msdn.microsoft.com/en-us/library/ms173136.aspx –
迈克尔,你大概可以读心术。我在你面前低头。 –
可能的重复:http://stackoverflow.com/questions/3296211/c-how-to-get-the-size-of-available-system-memory,http://stackoverflow.com/questions/4624176/how-在-c-net-windows-application中,获取系统内存,http://stackoverflow.com/questions/105031/c-sharp-how-do-you-get-total-amount-of-ram-计算机等等,请选择。 – coolmine