2

How can I connect to ad-hoc wireless network using c# I tried using wlanApi class but failed to get it correct profile xaml ?

2
  • Have you tried using this bit of code: managedwifi.codeplex.com I've never used it myself, but a friend of mine has.
    – Brad
    Dec 30, 2010 at 18:01
  • yes I tried but can't connect to ad-hoc if your friend can please ask him howa thanks!
    – kartal
    Dec 30, 2010 at 18:04

1 Answer 1

0

what is the problem you face while trying to connect?

just create the profile and use WlanSetProfile followed by WlanConnect

http://msdn.microsoft.com/en-us/library/ms706795(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/ms706613%28v=vs.85%29.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.