CPU and Memory Information

H

heintz.larry

Hello All,

I am wondering if someone can point in the right direction of using
specific .net namespaces to be able to retrieve/enumerate information
of cpu/memory on a machine. I do know that you can use WMI calls to
get this information, but the WMI information is out of date for new
cpu's and memory type/speeds. The WMI calls will work on older
hardware via vbscript with no problem, but I need to use for new
hardware.

TIA
Larry
www.windowsadminscripts.com
 
K

kimiraikkonen

Hello All,

I am wondering if someone can point in the right direction of using
specific .net namespaces to be able to retrieve/enumerate information
of cpu/memory on a machine. I do know that you can use WMI calls to
get this information, but the WMI information is out of date for new
cpu's and memory type/speeds. The WMI calls will work on older
hardware via vbscript with no problem, but I need to use for new
hardware.

TIA
Larrywww.windowsadminscripts.com

Look at "My.Computer.Info" for memory information. I don't know low-
level info can be provided for CPU under .NET natively, but
Performance Counter control may let you know CPU speed or look at this
for CPU speed using registry:

http://www.dotnet4all.com/Dot-Net-Books/2004/08/get-cpu-speed-using-vbnet.html
http://www.freevbcode.com/ShowCode.asp?ID=5612

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top