How to determin the NIC is wire connection or wirless one?

In my project, I can find some NICs with ICS API, but how can I determin the NIC is wrie or wireless? please help me, thanks a lot.

[182 byte] By [steveLi] at [2008-2-23]