Ask a questionAsk a question
 

Answerc# wireless detection code

Answers

  • Friday, January 25, 2008 11:53 AMjbella Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    I have used "Managed Wifi API" (http://www.codeplex.com/managedwifi) to write a small tool that detects access points. It is quite easy to use and had the tool up and running within a one or two hours. I have not tried to connect to any though.

     

    // Johan Bellander

All Replies

  • Tuesday, January 22, 2008 1:39 AMJi Cheng Wang - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi olak,

     

    Do you want to get C# wireless detection code or C code to setect wireless connections? Could you please clarify it clearly? Are you working on a mobile application project using .NET Compact Framework? If yes, you can try to look into this article about "How To: Detect if a network connection is present in .NET CF" for reference - http://curiousminds.wordpress.com/2007/01/23/how-to-detect-if-a-network-connection-is-present-in-net-cf/

     

    If I have any misunderstandings with you, please correct me. Thanks.

     

    Regards,

     

  • Tuesday, January 22, 2008 10:34 PMolak Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hey there,

    i want to thank you for ur reply.
    i had to reply using firefox cz it loggs out with internet explorer...nway i mean by c# or vb.net to detect wireless, like a program wireless manager or windows wireless manager.... i need a code 2 detect wireless lan on xp sp2 or vista and let me choose witch connection to pick up ..like the one windows use ..(including signal strength, ssid name, security type.....)
    i appreciate any help...
    thanks again.


    regards,
    OLAK

  • Friday, January 25, 2008 8:52 AMJi Cheng Wang - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi OLAK,

     

    As far as I know, if you have wireless network adapter and install wireless network drivers, you will get a wireless network manager on the taskbar of your PC. If you would like to detect wireless connection by programming, I think you need to get know wireless connection protocols. It seems that this depends on the network hardware to some extent.

     

    Regards,

     

  • Friday, January 25, 2008 9:52 AMolak Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hey Ji Cheng Wang,


    Yeah I know about the network manager on the taskbar and about wireless protocols... but I hv to develop a similar program like the one windows use when u want to connect to a wireless connection ext...
    So I need a
    c# or vb.net code  that shows the available connections, ssid, signal strength ext...(wireless connection discovery).
    By the way Im using toshiba laptop A200-1MI if this helps ...
    Plz i need a code, anything that can help post it plz.

     Thanks.

    OLAK

  • Friday, January 25, 2008 11:53 AMjbella Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     

    I have used "Managed Wifi API" (http://www.codeplex.com/managedwifi) to write a small tool that detects access points. It is quite easy to use and had the tool up and running within a one or two hours. I have not tried to connect to any though.

     

    // Johan Bellander

  • Tuesday, February 12, 2008 7:05 PMolak Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    thanks for ur reply,

    is ther any sample using this code??

    in vb.net or C#

    well im trying to write a tool with an interface so any help using this code plzzz

     

     

     

     

    OLAK

  • Friday, February 15, 2008 8:28 AMbulutozk Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    I wanna get c# wireless detection code in order to select wireless connections.Could you please help me about this?,

    thanks in deed.