获取系统信息 [英] Getting system information
本文介绍了获取系统信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用VB.NET 2008显示硬盘和RAM的使用量?
How to display the amount of hard disk and RAM usage using VB.NET 2008?
推荐答案
有关硬盘的使用,请使用Drive类及其属性. System.IO命名空间.对于RAM的使用,请尝试检查性能计数器类.在此处查看示例-
http://www.dotnetspider.com/resources/4612-Find-Memory- usage-CPU-usage.aspx [ ^ ]
google以获取更多信息
For hard disk usage, use the Drive class and its properties in System.IO Namespace. For RAM usage, try checking the Performance counter class. See a sample here -
http://www.dotnetspider.com/resources/4612-Find-Memory-usage-CPU-usage.aspx[^]
google for more information
这篇关于获取系统信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文