Click here to Skip to main content
12,830,320 members (46,724 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB .NET VB.NET
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.
Posted 21-Nov-12 7:33am
Updated 21-Nov-12 9:46am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

MSDN will help ya :)
DinoRondelly 21-Nov-12 14:17pm
Hey thanks for the reply, visual studio doesnt seem to want to import the namespace required for this and if i download the dll and add a reference to it i still cant get this name space to work.

I read somewhere while looking into this that only the full install of VS will have this namespace.

Is there any other way to get this information?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170326.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100