获取cpu序列号,硬盘ID,网卡MAC地址privatevoidstringcpuInfo="";//cpu序列号ManagementClasscimobject=newManagementClass("Win32_Processor");ManagementObjectCollectionmoc=foreach(ManagementObjectmoin=mo.Properties["ProcessorId"].Value.ToString();Response.Write("cpu序列号:"+//获取硬盘IDString