Hi Christopher,
"Christopher Attard" <ch*********@gfi.com> wrote in message
news:e6**************@TK2MSFTNGP11.phx.gbl...
Hi,
Is there a way to obtain programmatically the total amount of
Virtual memory employed by a machine in .NET?
10x
CHris
...
System.Management.ManagementObject logicalMem =
new System.Management.ManagementObject
("Win32_LogicalMemoryConfiguration.Name=\"LogicalM emoryConfiguration\"");
Console.WriteLine(
"Total virtual memory: {0}",
logicalMem["TotalVirtualMemory"].ToString());
...
Class System.Management.ManagementObject is in assembly
System.Management.dll.
Regards,
Daniel