Question

My understanding is that on Windows systems in XP, Vista, and Win7, and on the server products based on the same kernels, the UuidCreateSequential() Win32 API call makes use of one of the MAC addresses on the system to generate the UUID, and places that value at the tail end of the generated GUID.

My question is, given that the configuration set of network devices does not change, does UuidCreateSequential always choose the same MAC address each time?

Was it helpful?

Solution

You cannot rely on the same MAC address being used. From the RFC:

4.1.6. Node

For UUID version 1, the node field consists of an IEEE 802 MAC address, usually the host address. For systems with multiple IEEE 802 addresses, any available one can be used.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top