I want to calculate total memory used by a process in .net. Total memory here includes both pagefile and RAM usage. The closest I have found is VirtualMemorySize64 in Process class but it is always a bit lower than total memory usage as shown by third-party memory diagnostic softwares.
Share
Thanks Justin. I ended up using
System.Diagnostics.Process.VirtualMemorySize64.