Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Hardware / Firmware / Motherboard.rex

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

  
/* Retrieves information about the motherboard device installed in a computer */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colitems = objwmiservice~execquery("Select * from Win32_MotherboardDevice")
DO objitem OVER colitems
	SAY "Device ID:" objitem~deviceid
	SAY "Primary Bus Type:" objitem~primarybustype
	SAY "Secondary Bus Type:" objitem~secondarybustype
	SAY
END
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2022-8-19  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16