Getting an IP Address of an Access Point in ASP.NET

Mike Miller
Mike Miller used Ask the Experts™
on
I'm currently getting a list of all access points available using:

            IEnumerable<AccessPoint> accessPoints = wifi.GetAccessPoints();
            // for each access point from list
            foreach (AccessPoint ap in accessPoints)
            {
                //check if SSID is desired
                if (ap.Name.StartsWith("MY-SOCIAL"))
                {
                   
                  //get IP here

                }
            }

Open in new window


Is there a way to get an IP address of the AP?

I'm not married to do it this way, I just need to find a way to match up an AP name with the correlating IP address. Any ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Which library are you using?

-saige-
Software Engineer
Commented:
Ended up figuring it out. I used native wifi to get the GUID of the connected AP and then cycled through simpleWifi to get the matching Id (which is the same) then the latter to get the IP.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial