How to display the OC (actual) CPU frequency in c#

خرید بک لینک

I want to do the get the actual frequency of the processor, but when I try to take it from WMI and Win32 Processoralways retus to the default clock, even if I take the MaxClockSpeed.

Actually I have this code:

ManagementObjectSearcher mosProcessor = new ManagementObjectSearcher("SELECT * FROM Win32_Processor");
            foreach (ManagementObject moProcessor in mosProcessor.Get())
            {
               cpuclock_label.Text = moProcessor["MaxClockSpeed"].ToString() + " Mhz";

            }

But it retus the default maximum clock and not the overclocked frequency.

I even tried to get the frequency in the System Register from

/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/0

but even this retus the default frequency... any idea???

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 309 تاريخ: چهارشنبه 9 تير 1395 ساعت: 19:25

صفحه بندی