view raw
acidzombie24 acidzombie24 - 9 months ago 72
C# Question

How to get memory available or used in C#

How can I get the available RAM or memory used by the application?


You can use:

Process proc = Process.GetCurrentProcess();

To get the current process and use:


To get the private memory usage. For more information look at this link.