List wireless network adapters without packet schedulers -
05-15-2009
, 08:13 AM
Hi everyone,
I'm working on an application that is supposed to list the active
wireless network adapters _without_ including packet schedulers. This
is what we have so far ...
Dim searcher As New ManagementObjectSearcher( _
"\root\wmi", _
"Select * from MSNdis_80211_ServiceSetIdentifier Where
active=true")
CurrentWirelessSSID = ""
CurrentWirelessName = ""
Dim TheID As String = ""
Dim TheName As String = ""
For Each queryObj As ManagementObject in searcher.Get()
Dim i As Integer
Dim ThisName As String = ""
For i = 0 To queryObj("Ndis80211SsId")(0)
TheID = TheID & chr(queryObj("Ndis80211SsId")(i +
4))
Next
TheName = queryObj("InstanceName")
next
Is there an easy way to filter out packet schedulers from the objects
being returned here? |