I am trying to create a Walkie Talkie application for a Windows Mobile 6 phone in C # using the .NET Compact Framework .
How to configure Ad-Hoc WiFi software connection ? Which API to use?
This other question may be helpful to you.
Configure Wifi Settings Using C #