举报
Func _Memory() ;内存信息 $objWMIService = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") $colMemory = $objWMIService.ExecQuery("Select * from Win32_PhysicalMemory") Local $sAll = "" For $object In $colMemory $sAll &= "品牌" & StringStripWS($object.Manufacturer & " 频率" & $object.Speed & "Mhz " & " 序列号" & $object.SerialNumber & "型号" & $object.PartNumber & "", 4) & @CRLF Next $Memory = $sAll Return $Memory EndFunc ;==>_Memory
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-6 19:33 , Processed in 0.088811 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.