Getting Machine's MAC Address — Good Solution?
问题 I've heard it's not possible with my current library of winpcap. Is this really true? I see lots of examples on the net but then comments saying "This doesn't work". What's the best way to get a MAC address of the local machine? 回答1: One common method is using bits from a UUID, but this isn't entirely dependable. For example, it'll return a value even on a machine that doesn't have a network adapter. Fortunately, there is a way that works dependably on any reasonably recent version of Windows