{"id":85,"date":"2015-06-11T16:06:29","date_gmt":"2015-06-11T13:06:29","guid":{"rendered":"http:\/\/ahmadmagdy.me\/blog\/?p=85"},"modified":"2015-06-12T01:42:56","modified_gmt":"2015-06-11T22:42:56","slug":"%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%a7%d9%84%d8%ad%d8%b5%d9%88%d9%84-%d8%b9%d9%84%d9%89-processor-id-%d9%81%d9%8a-%d9%84%d8%ba%d8%a9-c","status":"publish","type":"post","link":"https:\/\/magdy.dk\/arblog\/?p=85","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 Processor ID \u0641\u064a \u0644\u063a\u0629 C#"},"content":{"rendered":"<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">\u0628\u0633\u0645 \u0627\u0644\u0644\u0647 \u0627\u0644\u0631\u062d\u0645\u0646\u00a0<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">\u0627\u0644\u0631\u062d\u064a\u0645 \u0627\u0644\u0633\u0644\u0627\u0645 \u0639\u0644\u064a\u0643\u0645 \u0648\u0631\u062d\u0645\u0629 \u0627\u0644\u0644\u0647 \u0648\u0628\u0631\u0643\u0627\u062a\u0647\u00a0<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">\u0645\u0646 \u062e\u0644\u0627\u0644 \u0647\u0630\u0627 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u0628\u0633\u064a\u0637 \u062a\u0633\u062a\u0637\u064a\u0639 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0631\u0642\u0645 \u0627\u0644\u0645\u0639\u0627\u0644\u062c Processor ID \u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0641\u064a \u0627\u064a \u062c\u0632\u0621 \u0645\u0646 \u0628\u0631\u0646\u0627\u0645\u062c\u0643<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"font-size: 14pt;\">\u0644\u0643\u064a \u064a\u0639\u0645\u0644 \u0627\u0644\u0643\u0648\u062f \u0628\u0634\u0643\u0644 \u0633\u0644\u064a\u0645 \u064a\u0644\u0632\u0645 \u0627\u0646 \u062a\u0636\u064a\u0641\u00a0<\/span><span style=\"font-size: 18.6666660308838px; line-height: 28px;\">reference \u0644\u0640 System.Management \u0639\u0646 <\/span><\/strong><strong><span style=\"font-size: 18.6666660308838px; line-height: 28px;\">\u0637\u0631\u064a\u0642 Project &gt;&gt;\u00a0Add Reference &gt;&gt;<span style=\"font-size: 14pt;\">Sys<\/span><\/span><\/strong><\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">using System.Management;<\/pre>\n<p>\u0648\u0627\u0644\u0643\u0648\u062f<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nManagementObjectSearcher MOS = new ManagementObjectSearcher(&quot;Select ProcessorID from Win32_Processor&quot;);\r\n            ManagementObjectCollection MC = MOS.Get();\r\n            string result = null;\r\n            foreach (ManagementObject OB in MC)\r\n            {\r\n                result = OB&#x5B;&quot;ProcessorId&quot;].ToString();\r\n            }\r\n            MessageBox.Show(result);\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0633\u0645 \u0627\u0644\u0644\u0647 \u0627\u0644\u0631\u062d\u0645\u0646\u00a0 \u0627\u0644\u0631\u062d\u064a\u0645 \u0627\u0644\u0633\u0644\u0627\u0645 \u0639\u0644\u064a\u0643\u0645 \u0648\u0631\u062d\u0645\u0629 \u0627\u0644\u0644\u0647 \u0648\u0628\u0631\u0643\u0627\u062a\u0647\u00a0 \u0645\u0646 \u062e\u0644\u0627\u0644 \u0647\u0630\u0627 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u0628\u0633\u064a\u0637 \u062a\u0633\u062a\u0637\u064a\u0639 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0631\u0642\u0645 \u0627\u0644\u0645\u0639\u0627\u0644\u062c Processor ID \u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0641\u064a \u0627\u064a \u062c\u0632\u0621 \u0645\u0646 \u0628\u0631\u0646\u0627\u0645\u062c\u0643 \u0644\u0643\u064a \u064a\u0639\u0645\u0644 \u0627\u0644\u0643\u0648\u062f \u0628\u0634\u0643\u0644 \u0633\u0644\u064a\u0645 \u064a\u0644\u0632\u0645 \u0627\u0646 \u062a\u0636\u064a\u0641\u00a0reference \u0644\u0640 System.Management \u0639\u0646 \u0637\u0631\u064a\u0642 Project &gt;&gt;\u00a0Add Reference &gt;&gt;Sys using System.Management; \u0648\u0627\u0644\u0643\u0648\u062f ManagementObjectSearcher MOS = new ManagementObjectSearcher(&quot;Select ProcessorID from Win32_Processor&quot;); ManagementObjectCollection [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-85","post","type-post","status-publish","format-standard","hentry","category-2"],"aioseo_notices":[],"views":582,"_links":{"self":[{"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/posts\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85"}],"version-history":[{"count":12,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=\/wp\/v2\/posts\/85\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magdy.dk\/arblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}