views:

586

answers:

3

I want to create Wi-Fi network.The Server must get dynamically parameters to configure it's Wi-Fi adapter as access point and clients must get same parameters to connect to the server via Wi-Fi. How can i Create Wi Fi network by C++ or C# and Windows API,may be Native Wi Fi API on that server with Wi-Fi Adapter? The way that server gets parameters is not important.All computers are with Windows XP SP2, and Wi-Fi adpters drivers support Wi-Fi Native API.

+1  A: 

I suggest reading through the MSDN Native WiFi Documentation. There's quite a lot of that.

unwind
A: 

You can take a look at the Managed WiFi Library at codeplex..
I never used it but it might help you out.

Nimrod Shory
A: 

It depends on the WIFI stack. Microsoft's WIFI stack is introduced in Windows XP SP2 and many adapters drivers are not rewritten for it. A simple way to detect that is check if you can control it in WZC. If it can be used by WZC you can use the Native WIFI APIs listed above, otherwise you need to contact the manufacturer to give you a driver that works with Windows's WIFI stack, or a SDK for the device.

Sheng Jiang 蒋晟