[.NET 1.1] physical memory

  • Thread starter Thread starter Adam Klobukowski
  • Start date Start date
A

Adam Klobukowski

How can I programatically check how much of total physical memory
computer has?
 
Marwan Tarek napisał(a):
Hello Adam,

try using WMI there is a class called Win32_PhysicalMemory has property
called capcity returns The total capacity of this physical memory, in
bytes.

to generate WMI code try WMI code creator check this post
http://www.sharepointblogs.com/marwantarek/archive/2005/12/20/4419.aspx

Great tool, but:

Reading Win32_PhysicalMemory gives me 0 results...

Moreover it seems to be NT+ only, what about Windows 98?
 
Back
Top