可能重複:
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