I am trying to get the Cached physical memory like what is displayed in the task manager.
I was able to get the physical memory and the free memory using
but i am suck on getting the cached.
Any insight on how to achieve this would be greatly appreciated
I am trying to do this in a windows form that will be running on Microsoft servers.
I dont need to cache anything i just need to have the same cache value that is shown in the task manager.