How can get memory status of the system using C#
Memory status means i need to get aviable physical memory, total physical memory etc.
Please help me
regards
hari
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SiewPosted Nov 5, 2006, 2:54 AM
there is a Microsoft.VisualBasic.Devices namespace;
the class is ComputerInfo;
you may include this namespace in your codes,
create an instance of class ComputerInfo(),
then you may use the property listed as below :
TotalPhysicalMemory
AvailablePhysicalMemory
TotalVirtualMemory
AvailableVirtualMemory