s***@gmail.com
2009-05-10 02:56:14 UTC
I'm trying to get the current wireless data rate (what is shown as the
"Speed" in normal connection status dialog), but I'm not sure how to
do this via WMI. I'm trying to query for MSNdis_80211_DataRates by
using ExecQuery with "SELECT * FROM MSNdis_80211_DataRates". The
ExecQuery succeeds, but the returned enumerator doesn't have any
results. I'm doing this from C++ and I can get other WMI things like
getting "Model" via "SELECT * FROM Win32_ComputerSystem", but not
anything from the MSNdis_80211* classes.
Is there a way to do this via ExecQuery? Or is there a way to get the
wireless data rate via the wmic tool? If so, I'm not sure how to do it
so if somebody could give me an example, that would be great.
"Speed" in normal connection status dialog), but I'm not sure how to
do this via WMI. I'm trying to query for MSNdis_80211_DataRates by
using ExecQuery with "SELECT * FROM MSNdis_80211_DataRates". The
ExecQuery succeeds, but the returned enumerator doesn't have any
results. I'm doing this from C++ and I can get other WMI things like
getting "Model" via "SELECT * FROM Win32_ComputerSystem", but not
anything from the MSNdis_80211* classes.
Is there a way to do this via ExecQuery? Or is there a way to get the
wireless data rate via the wmic tool? If so, I'm not sure how to do it
so if somebody could give me an example, that would be great.