|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
[.NET 1.1] physical memoryHow can I programatically check how much of total physical memory
computer has? -- Semper Fidelis Adam Klobukowski at***@gabo.pl 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/ Show quote > How can I programatically check how much of total physical memory > computer has? > > Adam Klobukowski > at***@gabo.pl Marwan Tarek napisał(a):
> Hello Adam, Great tool, but:> > 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 Reading Win32_PhysicalMemory gives me 0 results... Moreover it seems to be NT+ only, what about Windows 98? -- Semper Fidelis Adam Klobukowski at***@gabo.pl |
|||||||||||||||||||||||