摘要:
转自:http://www.cnblogs.com/MaxWoods/archive/2008/03/11/1100666.htmlusing System.Runtime.InteropServices;using System.Management;using System;public class HardwareInfo ...{ //取机器名 public string GetHostName() ...{ return System.Net.Dns.GetHostName(); } //取CPU编号 public String GetCpuID() ...{ tr... 阅读全文