lenmom

博客园 首页 新随笔 联系 订阅 管理

2018年3月13日 #

摘要: // /// 获取网卡物理地址 /// /// public static string getMacAddr_Local() { string madAddr = null; ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); Manageme... 阅读全文
posted @ 2018-03-13 14:47 老董 阅读(1321) 评论(0) 推荐(0)

摘要: 最近学习过程中,想到提取系统硬件信息做一些验证,故而对网上提到的利用.NET System.Management类获取硬件信息做了进一步的学习、验证。验证是分别在4台电脑,XP SP3系统中进行,特将验证过程记录于此。 说明: 电脑1(联想品牌电脑); 电脑2(HP品牌电脑); 电脑3(联想品牌电脑 阅读全文
posted @ 2018-03-13 14:34 老董 阅读(23677) 评论(1) 推荐(0)

摘要: public class Computer { public static string CpuID; //1.cpu序列号 public static string MacAddress; //2.mac序列号 public static string DiskID; //3.硬盘id public static stri... 阅读全文
posted @ 2018-03-13 14:27 老董 阅读(326) 评论(0) 推荐(0)