A Adam Klobukowski Feb 23, 2006 #1 How can I programatically check how much of total physical memory computer has?
M Marwan Tarek Feb 23, 2006 #2 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 Marwan Tarek http://www.sharepointblogs.com/marwantarek/
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 Marwan Tarek http://www.sharepointblogs.com/marwantarek/
A Adam Klobukowski Feb 23, 2006 #3 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 Click to expand... Great tool, but: Reading Win32_PhysicalMemory gives me 0 results... Moreover it seems to be NT+ only, what about Windows 98?
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 Click to expand... Great tool, but: Reading Win32_PhysicalMemory gives me 0 results... Moreover it seems to be NT+ only, what about Windows 98?