Get the hardware address on Windows using the _uuid extension module.
()
| 649 | return UUID(bytes=uuid_time).node |
| 650 | |
| 651 | def _windll_getnode(): |
| 652 | """Get the hardware address on Windows using the _uuid extension module.""" |
| 653 | if _UuidCreate and _has_stable_extractable_node: |
| 654 | uuid_bytes = _UuidCreate() |
| 655 | return UUID(bytes_le=uuid_bytes).node |
| 656 | |
| 657 | def _random_getnode(): |
| 658 | """Get a random node ID.""" |
nothing calls this directly
no test coverage detected
searching dependent graphs…