WIN32 - get the GUID of a Network Device

Tim Golden mail at
Mon Apr 26 10:14:24 CEST 2010

On 26/04/2010 09:06, Richard Lamboj wrote:
> is there a way to get the GUID from a Network Device?

Are you talking about the MAC address? If so, here's
one way:

import wmi

for nic in wmi.WMI ().Win32_NetworkAdapterConfiguration ():
   print nic.caption, "=>", nic.MACAddress


If you're not, then which GUID are you referring to?


More information about the Python-list mailing list