The system control panel shows this info.
How can I query it (using C#)?
Using interop, I got the WLAN_ASSOCIATION_ATTRIBUTES.
But they only seem to contain DOT11_PHY_TYPE dot11PhyType;.
This gives me some information, but not all.
Example:
dot11PhyTypeis7.7meansdot11_phy_type_ht.dot11_phy_type_htis802.11n.802.11nis 2.4 or 5 GHz?
Apparently most protocols can use multiple frequencies. So how can I get the currently used one? Should I just show the highest value in the list?
I think I'm misunderstanding something here.

WlanQueryInterface?