There's a program called NetStumbler that i'm using for wardriving purposes. The only problem with it is that my Wireless USB adapter isn't supported for this program (I have to use my laptop's internal adapter, but it's not very good).

So to get around this problem i've decided to use the built in windows wireless configuration and scanner.

What i plan to do is make a program that uses the windows scanner to post APs into a list and constantly update the signal strength and that. Graphs, WEP (or not) and all the other pretty things.

What i need to know is how i can get this information from windows into my program.

Is there some sort of API call i can use?