You might take a look at CheckNICs() in the UDF forum.

Also, I believe you might have some luck with Netsh.exe as well.
_________________________
(... better days ahead)