龙龙仔 发表于 2009-11-9 17:22:00

<p>我的可以</p><p>((<a href="file://\\.\PHYSICALDRIVE0">\\.\PHYSICALDRIVE0</a> 5JXA5LL2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) (<a href="file://\\.\PHYSICALDRIVE1">\\.\PHYSICALDRIVE1</a>
        </p><p>nil))</p><p><br/>&nbsp;</p>

liminnet 发表于 2009-11-9 17:45:00

狂刀lxx 发表于 2009-11-11 23:27:00

(command "vbastmt"<br/>&nbsp; "Set objSWbemObject = GetObject(\"winmgmts:Win32_Processor.DeviceID='cpu0'\"):ret = objSWbemObject.ProcessorId:msgbox \"首枚CPU序列号:\" &amp; ret")

liminnet 发表于 2009-11-12 08:33:00

狂刀无痕 发表于 2009-11-12 12:38:00

你是什么操作系统?

liminnet 发表于 2009-11-12 14:08:00

mmmmmm 发表于 2009-11-17 09:23:00

<p>根据MSDN的Win32_DiskDrive说明</p><p><strong>SerialNumber</strong>
        </p><p>Data type: <strong>string</strong>
        </p><p>Access type: Read-only </p><p>Number allocated by the manufacturer to identify the physical media. </p><p>Example: WD-WM3493798728</p><p><font color="#ff0000"><strong>Windows Server&nbsp;2003, Windows&nbsp;XP, Windows&nbsp;2000, and Windows&nbsp;NT&nbsp;4.0:&nbsp;&nbsp;</strong>This property is not available. </font></p><p></p>

高级用户 发表于 2009-11-22 22:14:00

在多台xp电脑上尝试,读不出来硬盘号

scaaa 发表于 2010-7-26 21:46:00

各位,WIN7下试过吗?好像不行啊!

zxjing 发表于 2011-1-3 01:46:03

标记一下,正在研究
页: 1 [2] 3
查看完整版本: 获取CPU序列号