I have no idea if it is possible to calculate urban electric power Hz frequency, on PC without any external electric or electronic device. I want to get electric power Hz through Os, power supply, motherboard or any other data source available in a normal PC, best practical code for me is C#. Usually, in many countries, electric current is 50 or 60 Hz. Now I want to calculate it in my code, on my computer, without any external device, and best case is that code be so harmless to run on remote server, internet server without need for any special permission. In CMOS, BIOS and windows registry there are many hidden data, may be one usefull for this. Any help is welcomed.
EDIT No, don't miss understand, I don't need to know countries current Hz, I want to know Hz of power that my Pc is using, Here (local place) power Hz and at the present time
This looks promising:
http://wutils.com/wmi/root/cimv2/power/ms_409/win32_powersupply/
This is WMI, and should be doable through C# assuming it actually works and gives you what you need
http://wutils.com/wmi/root/cimv2/power/ms_409/properties/range1inputfrequencyhigh.html
Dim wmiObject
Set wmiObject = GetObject( _
"WINMGMTS:\\.\ROOT\CIMV2\power\ms_409:" + _
"Win32_PowerSupply.CreationClassName=""Value"",DeviceID=""Value"",SystemCreationClassName=""Value"",SystemName=""Value""")
Wscript.Echo wmiObject.Range1InputFrequencyHigh