Skip to content

Memory status

hari krk

hari krk

Asked Aug 18, 2006, 9:48 AM EDT1 answer
Share
LinkedInX
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    hi,

    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
    0