How can I get the available ram or memory used by the application?
A:
You should take a look at the System.Diagnostics.Process
class.
Ronald Wildenberg
2009-04-15 06:59:52
+2
A:
System.Environment has WorkingSet. If you want a lot of details there is System.Diagnostics.PerformanceCounter, but it will be a bit more effort to setup.
Austin
2009-04-15 07:03:15
+2
A:
You might want to check the GC.GetTotalMemory method.
It retrieves the number of bytes currently thought to be allocated by the garbage collector.
CMS
2009-04-15 07:05:59