Results 1 to 6 of 6

Thread: Detect Wireless Access Points

  1. #1
    Maximum Bitrate buurin's Avatar
    Join Date
    Sep 2005
    Location
    Seattle, WA
    Posts
    463

    Detect Wireless Access Points

    I am stumped... I cannot for the life of me get code to list available access points...

    I dont care what language.. Ideally C#, or VB.NET


    I have asked/looked everywhere. I am trying to use C# and WMI but it only returns 1 correct SSID, everything else it returns is garbage.
    B Smoov
    Project Status: 90% Complete

    Next Step: TIVO for Radio

    Ampie Case :: MII10000 Mobo :: M1-ATX PSU :: 512MB RAM :: 2.5" HD, 60GB, 5400rpm, 16MB Buffer :: DWW-700H :: Centrafuse

  2. #2
    Newbie
    Join Date
    Sep 2005
    Posts
    15
    Hi,

    Getting a list of available WiFi networks is the easy bit, including signal strength etc. through the WMI API. Google it or try this URL for starters:

    http://blogs.wwwcoder.com/mmondok/ar...6/23/5266.aspx

    The difficult bit is using the list of available networks. I have yet to find any reasonable way to programatically connect to a given network. If you find a way (from within Windows) then I (amongst others) would be very pleased to know. Apparantly there are many tools that can be used from within Linux to achieve this....

    I hope that this helps.

    cool dude

  3. #3
    Maximum Bitrate buurin's Avatar
    Join Date
    Sep 2005
    Location
    Seattle, WA
    Posts
    463
    I appreciate your help but try the code out before you claim it is easy to obtain the list.

    If you look at the bottom of the page you referred me to you will see that three people(myself included) posted that incorrect results are returned.
    B Smoov
    Project Status: 90% Complete

    Next Step: TIVO for Radio

    Ampie Case :: MII10000 Mobo :: M1-ATX PSU :: 512MB RAM :: 2.5" HD, 60GB, 5400rpm, 16MB Buffer :: DWW-700H :: Centrafuse

  4. #4
    Newbie
    Join Date
    Sep 2005
    Posts
    15

    Well

    I am sorry that the code does not work for you but it was meant as an example. I had assumed that you would Google the relevent terms and take it from there.

    I have tried various code samples (some even found on these very forums) that use WMI in VB. They used to work in XP SP1 but they now appear to no longer work in SP2 (all my PCs are SP2). What they all do in SP2 is to list the first access point found (or the one that you are attached to) for every access point found.

    It does appear as if this is a known issue with SP2 but I have not yet found what the fix is. Even on the MS Knowledgebase the posts outlining this problem remain unsnswered.

    Sorry to have been of little help. Maybe the problem will be fixed by MS in a future service pack?

  5. #5
    Maximum Bitrate buurin's Avatar
    Join Date
    Sep 2005
    Location
    Seattle, WA
    Posts
    463
    Now thats good info... I didnt know it was broken by SP2.

    I have looked EVERYWHERE for a solution. I am absolutely stumped. I wish there was just a simple API to query the Windows Wireless Zero Config tool. I am to the point of just trying to hook the tool.
    B Smoov
    Project Status: 90% Complete

    Next Step: TIVO for Radio

    Ampie Case :: MII10000 Mobo :: M1-ATX PSU :: 512MB RAM :: 2.5" HD, 60GB, 5400rpm, 16MB Buffer :: DWW-700H :: Centrafuse

  6. #6
    Newbie
    Join Date
    Sep 2005
    Posts
    15

    How's this

    Hi,

    I found this: http://www.robotics4.net/Software/ManagedWiFi.aspx

    It appears to be a wrapper that bypasses WMI. I am not so hot on C so at the moment I cannot try this out in VB6. Maybe you can see if it helps?

    cool dude

Similar Threads

  1. Instructions on getting FREE wireless internet from T-Mobile using GPRS
    By bankingdom in forum Wireless Communications
    Replies: 298
    Last Post: 08-16-2011, 03:37 PM
  2. does NetStumbler actually CONNECT to access points?
    By Grayscale in forum Wireless Communications
    Replies: 71
    Last Post: 06-29-2005, 06:27 PM
  3. PHX, AZ Access Points?
    By nFiniteTuning in forum Wireless Communications
    Replies: 5
    Last Post: 04-24-2005, 06:18 PM
  4. wireless card or wireless car and access point?
    By vanroth in forum Wireless Communications
    Replies: 7
    Last Post: 06-08-2004, 11:46 AM
  5. two access points
    By JayKaye in forum Wireless Communications
    Replies: 4
    Last Post: 05-07-2004, 02:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •