switch from hardware object to string

and replace mac address to disk serial number
for more predictable hash key
This commit is contained in:
Alex Bezdieniezhnykh
2025-05-02 09:41:04 +03:00
parent 28069f63f9
commit 59eb39d447
7 changed files with 16 additions and 50 deletions
+1 -6
View File
@@ -1,11 +1,6 @@
cdef class HardwareInfo:
cdef str cpu, gpu, memory, mac_address
cdef to_json_object(self)
cdef class HardwareService:
cdef bint is_windows
cdef get_mac_address(self, interface=*)
@staticmethod
cdef has_nvidia_gpu()
cdef HardwareInfo get_hardware_info(self)
cdef str get_hardware_info(self)