Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / Basic Computer Information / CPU.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Displays information on the computer's processor(s) */
strcomputer = "."
objwmiservice = getobject("winmgmts:\\" || strcomputer || "\root\CIMV2")
colcses = objwmiservice~execquery("SELECT * FROM Win32_ComputerSystem")
DO objcs OVER colcses
	SAY "Computer Name:" objcs~name
	SAY "System Type:" objcs~systemtype
	SAY "Number Of Processors:" objcs~numberofprocessors
END
colprocessors = objwmiservice~execquery("Select * from Win32_Processor")
DO objprocessor OVER colprocessors
	SAY "Manufacturer:" objprocessor~manufacturer
	SAY "Name:" objprocessor~name
	SAY "Description:" objprocessor~description
	SAY "Processor ID:" objprocessor~processorid
	SAY "Address Width:" objprocessor~addresswidth
	SAY "Data Width:" objprocessor~datawidth
	SAY "Family:" objprocessor~family
	SAY "Maximum Clock Speed:" objprocessor~maxclockspeed
END

掌柜推荐
 
 
¥738.00 ·
 
 
¥271.00 ·
 
 
¥638.00 ·
 
 
¥1,800.00 ·
 
 
¥650.00 ·
 
 
¥1,580.00 ·
© Wed 2024-11-6  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16