no code, just run this command from a command line.

netsh interface show interface

After some testing on my home computer I think that this will only show network cards and not any dialup connections.

If you have a multi homed win2k computer, i still would like to see what the result is.

Bryce