明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: xianaihua

[函数] 获取CPU序列号

  [复制链接]
发表于 2009-11-9 17:22 | 显示全部楼层

我的可以

((\\.\PHYSICALDRIVE0 5JXA5LL2            ) (\\.\PHYSICALDRIVE1

nil))


 

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2009-11-9 17:45 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2009-11-11 23:27 | 显示全部楼层
(command "vbastmt"
  "Set objSWbemObject = GetObject(\"winmgmts:Win32_Processor.DeviceID='cpu0'\"):ret = objSWbemObject.ProcessorId:msgbox \"首枚CPU序列号:\" & ret")
发表于 2009-11-12 08:33 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2009-11-12 12:38 | 显示全部楼层
你是什么操作系统?
发表于 2009-11-12 14:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2009-11-17 09:23 | 显示全部楼层

根据MSDN的Win32_DiskDrive说明

SerialNumber

Data type: string

Access type: Read-only

Number allocated by the manufacturer to identify the physical media.

Example: WD-WM3493798728

Windows Server 2003, Windows XP, Windows 2000, and Windows NT 4.0:  This property is not available.

发表于 2009-11-22 22:14 | 显示全部楼层
在多台xp电脑上尝试,读不出来硬盘号
发表于 2010-7-26 21:46 | 显示全部楼层
各位,WIN7下试过吗?好像不行啊!
发表于 2011-1-3 01:46 | 显示全部楼层
标记一下,正在研究
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-18 21:00 , Processed in 0.159375 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表