获取计算机硬件信息

时间:2014-12-10 06:48:29
【文件属性】:
文件名称:获取计算机硬件信息
文件大小:80KB
文件格式:ZIP
更新时间:2014-12-10 06:48:29
计算机硬件 获取计算机硬件信息,可用于制作注册码 。。。。。。。。 /// /// 获取CPU序列号代码 /// /// string GetCpuID() { try { string cpuInfo = ""; //cpu序列号 ManagementClass mc = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { cpuInfo = mo.Properties["ProcessorId"].Value.ToString(); } moc = null; mc = null; return cpuInfo; } catch { return "unknow"; } finally { } } 。。。。。。。。。。。。。。
【文件预览】:
KeyMaker
----KeyMaker.suo(48KB)
----KeyMaker.sln(914B)
----KeyMaker()
--------bin()
--------Form1.Designer.cs(14KB)
--------Program.cs(469B)
--------obj()
--------Form1.cs(3KB)
--------Form1.resx(6KB)
--------Computer.cs(6KB)
--------yf.ico(9KB)
--------KeyMaker.csproj(3KB)
--------Properties()

网友评论

  • 还相当不错,谢谢共享!
  • 很不错,软件功能很好,获取了计算机的特征码并生成了序列号,但不是VC的,无法参考源码
  • 很不错,软件功能很好,获取了计算机的特征码并生成了序列号,但不是VC的,无法参考源码