MCPcopy Create free account
hub / github.com/DIMFLIX/Spectrum-Security / get_cpu_name

Method get_cpu_name

main.py:99–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 self.home_timer_update.start(1000)
98
99 def get_cpu_name(self):
100 aReg = ConnectRegistry(None, HKEY_LOCAL_MACHINE)
101 aKey = OpenKey(aReg, r"HARDWARE\DESCRIPTION\System\CentralProcessor\0")
102 name = QueryValueEx(aKey, 'ProcessorNameString')[0]
103 return name
104
105 def main_page_info(self):
106

Callers 1

main_page_infoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected