emoacht / ManagedNativeWifi

A managed implementation of Native Wifi API
MIT License
139 stars 41 forks source link

EnumerateAvailableNetworkSsids() returns duplicate results. #41

Closed snandaworld closed 1 year ago

snandaworld commented 1 year ago
        var ssids = player.EnumerateAvailableNetworkSsids();
        foreach(var ssid in ssids)
        {
            Trace.WriteLine(ssid);
        }

or

var ssids = NativeWifi.EnumerateAvailableNetworkSsids()
        .Select(x => x.ToString());
        foreach(var ssid in ssids)
        {
            Debug.WriteLine(ssid);
        }

Output: Redstone Redstone

But only one SSID present with the name: Redstone

It's observed with connected SSIDs or for SSIDs which are having the profiles already.

emoacht commented 1 year ago

Please read https://github.com/emoacht/ManagedNativeWifi/issues/40#issuecomment-1420796194