1. 首页
  2. 数据库
  3. 其它
  4. .net获取硬件信息_CPU序列号

.net获取硬件信息_CPU序列号

上传者: 2021-01-03 12:18:18上传 PDF文件 27.15KB 热度 17次
代码如下:Public Sub getCpuId() Try Dim mc As Management.ManagementClass Dim moc As Management.ManagementObjectCollection Dim mo As Management.ManagementObject mc = New Management.ManagementClass(“win32_processor”) moc = mc.GetInstances() For Each mo In moc strCpuId = mo.Properties(“processorid”).Value.T
用户评论