Gets the amount of physical memory mapped to the process context.
using System; class Sample { public static void Main() { Console.WriteLine("WorkingSet: {0}", Environment.WorkingSet); } }