看见月亮成猩猩,按国际惯例低调散分,见者有份II解决办法


看见月亮成猩猩,按国际惯例低调散分,见者有份II
获得本机内存使用情况

//项目中添加Micrsoft.VisualBasic引用
using   Microsoft.VisualBasic.Devices;  

Computer   vComputer   =   new   Computer();
StringBuilder   vMessage   =   new   StringBuilder();
vMessage.Append(string.Format( "虚拟内存共计={0}\r\n ",  
        vComputer.Info.TotalVirtualMemory));
vMessage.Append(string.Format( "虚拟内存使用={0}\r\n ",  
        vComputer.Info.AvailableVirtualMemory));
vMessage.Append(string.Format( "物理内存共计={0}\r\n ",  
        vComputer.Info.TotalPhysicalMemory));
vMessage.Append(string.Format( "物理内存使用={0}\r\n ",  
        vComputer.Info.AvailablePhysicalMemory));
MessageBox.Show(vMessage.ToString());

每次回复1分,满100结贴

散分、接分混眼熟

C#语言 .net 程序开发

Amanda夏 13 years, 2 months ago


jf

Ke answered 13 years, 2 months ago


jf

独孤丶小败 answered 13 years, 2 months ago


JF

妄想少年J answered 13 years, 2 months ago


lz分太多了,多分点吧

pieces answered 13 years, 2 months ago


j

Bo__om answered 13 years, 2 months ago


没看懂,c#里没有更好的实现方法么?

火星丿小朋友 answered 13 years, 2 months ago


接分

兵库北女神 answered 13 years, 2 months ago


j


真de累了 answered 13 years, 2 months ago


我的分少得可怜啊。

yusimin answered 13 years, 2 months ago


毫不客气的jf

账号已被禁言 answered 13 years, 2 months ago


接分

wenlove answered 13 years, 2 months ago


JF

APRILs answered 13 years, 2 months ago


jf

Tragen answered 13 years, 2 months ago

Your Answer