상세 컨텐츠

본문 제목

CPU Serial

C#

by 탑~! 2009. 5. 25. 18:58

본문

            System.Management.ManagementObjectSearcher Win32Processor = new System.Management.ManagementObjectSearcher("select * from win32_processor");
           
            string rtuProID, strProID;
            rtuProID = "";

            foreach (System.Management.ManagementObject Source in Win32Processor.Get())
            {
                strProID = Source["ProcessorID"].ToString();

                //Console.WriteLine("CPU Name         - " + Source["Name"]);

                //Console.WriteLine("CPU ProcessorID - " + Source["ProcessorID"]);

            }

'C#' 카테고리의 다른 글

MAC Address  (0) 2009.05.25
HDD Serial  (0) 2009.05.25
DataSet 압축  (0) 2009.04.03
SQL Injection  (0) 2009.04.03
String to Byte Array Conversion  (0) 2009.03.25

관련글 더보기