获取硬盘ID和CPUID及加密解密ManagementClasscim=newManagementClass("Win32_Processor");ManagementObjectCollectionmoce=cim.GetInstances();foreach(ManagementObjectmoinmoce){cpuinfo=mo.Properties["ProcessorId"].Value.ToString();