vb.net显示系统内存用量

来源:互联网 发布:ios wkwebview 注入js 编辑:程序博客网 时间:2024/04/28 09:30

Dim ramCounter = New PerformanceCounter("Memory", "Available MBytes")
MsgBox(ramCounter.NextValue().ToString + "Mb")