MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _windll_getnode

Function _windll_getnode

tools/python-3.11.9-amd64/Lib/uuid.py:601–605  ·  view source on GitHub ↗

Get the hardware address on Windows using the _uuid extension module.

()

Source from the content-addressed store, hash-verified

599 return UUID(bytes=uuid_time).node
600
601def _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
607def _random_getnode():
608 """Get a random node ID."""

Callers 2

_ipconfig_getnodeFunction · 0.85
_netbios_getnodeFunction · 0.85

Calls 1

UUIDClass · 0.85

Tested by

no test coverage detected