How to judge one network adapter is wire or wireless?

How to judge one network adapter is wire or wireless? Urgently, Please help me!
[81 byte] By [steveLi] at [2008-2-15]
# 1
This came late but you should take a look at WMI:
http://msdn2.microsoft.com/en-us/library/aa394216.aspx

In my latestes tests the property AdapterTypeID is not that useful but might help you, also you can look in the name property for the string wireless.

Hope this helps

HenriqueMelloQuintino at 2007-10-3 > top of Msdn Tech,Windows Networking Development,Windows XP Wireless SDK...