Trent L. Taylor (10/26/2007)
What are the types that your card shows? In the sample I gave you, put a break point on the nicInfo within the For Loop and see what the NetworkInterfaceType is set to for you wireless card. This is what is causing the IsValidInterfaceType to fail.Wireless Network Connection 2 (Dell 1350 NIC) shows as Wireless80211 and comes back as false.
Bluetooth Network Connection 5 shows as Ethernet and comes back as true.
Local Area Connection (build in eithernet) shows as Ethernet and comes back as true
Local Area Connection 2 (the netgear USB Wireless adapter) shows as Wireless80211 and comes back as false.
So it looks like only interfaces that come back as "Ethernet" are being seen as valid. This doesn't seem all that great to me. If needed I guess I can go out and buy a USB ethernet adapter just for this, but that seems a bit silly given that I have a couple of these netgear things laying around doing nothing else.
I remember having a problem like this with VMWare versions prior to 5.5 IIRC not seeing wireless adapters as being able to be bridged. 5.5 and higher don't have that problem, but then I'm not doing virtual machines on my laptop at the moment anyways.