Get the hardware address on Windows using the _uuid extension module.
()
| 599 | return UUID(bytes=uuid_time).node |
| 600 | |
| 601 | def _windll_getnode(): |
| 602 | """Get the hardware address on Windows using the _uuid extension module.""" |
| 603 | if _UuidCreate: |
| 604 | uuid_bytes = _UuidCreate() |
| 605 | return UUID(bytes_le=uuid_bytes).node |
| 606 | |
| 607 | def _random_getnode(): |
| 608 | """Get a random node ID.""" |
no test coverage detected