Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: .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
Edited 21-Nov-12 9:46am

1 solution

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

Solution 1

MSDN will help ya Smile | :)
DinoRondelly at 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
0 OriginalGriff 445
1 Suvendu Shekhar Giri 134
2 Abhinav S 126
3 Maciej Los 125
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 9,623
1 OriginalGriff 8,870
2 Peter Leow 4,984
3 Kornfeld Eliyahu Peter 3,300
4 Maciej Los 2,456

Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2015
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