detecting enabled network interfaces in win32

Josiah Carlson jcarlson at uci.edu
Sun Oct 17 04:08:34 EDT 2004


> In one of my "because I can" projects, I want to be able to see the
> enabled network interfaces on a machine. I have no clue as to how to
> do this. Any suggestions?

Parse the output of 'ipconfig /all' on NT/2k/XP/2k3 machines.
I'm sure it is available in the registry, I've been there before, but I
can't remember the key name.  Use regedit to find the key with your
network interface to determine where you should be polling in general.


 - Josiah




More information about the Python-list mailing list