locked
how to disable/enable WIFI radio in Windows-CE ? RRS feed

  • Question

  • hi

    how to disable/enable WIFI radio in Windows-CE ?

    (not in Windows-Mobile)

    thanks in advance
    Wednesday, January 26, 2011 9:00 PM

Answers

  • See this aritcle

    http://msdn.microsoft.com/en-us/library/aa446491.aspx

    Also see the thread

    http://social.msdn.microsoft.com/Forums/en/netfxcompact/thread/14e95a01-177d-4ea9-bbd9-3c3cf66a102e

    http://blogs.msdn.com/b/raffael/archive/2009/02/27/wireless-programming-on-windows-mobile-supported-or-not-supported.aspx?wa=wsignin1.0

    Also why can't you p/invoke these API directly?


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    • Marked as answer by Bin-ze Zhao Monday, January 31, 2011 5:29 AM
    Thursday, January 27, 2011 11:15 AM

All replies

  • you can use wireless Zero config(WZC) APIs to Do that. See the following msdn link for the details of the given API

    WZCSetInterfaceEx() - http://msdn.microsoft.com/en-us/library/ee481704.aspx

    If you have platform builder (WINCE600), See the following path for sample application that handles all the necessary things for Wifi

    \WINCE600\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\WZCTOOL

    See the function DoEnableDisableWzcSvc() in the above sample code for your reference.


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    Thursday, January 27, 2011 7:11 AM
  • thanks for the help

    can i get any C# sample code ? 

    Thursday, January 27, 2011 9:11 AM
  • See this aritcle

    http://msdn.microsoft.com/en-us/library/aa446491.aspx

    Also see the thread

    http://social.msdn.microsoft.com/Forums/en/netfxcompact/thread/14e95a01-177d-4ea9-bbd9-3c3cf66a102e

    http://blogs.msdn.com/b/raffael/archive/2009/02/27/wireless-programming-on-windows-mobile-supported-or-not-supported.aspx?wa=wsignin1.0

    Also why can't you p/invoke these API directly?


    Vinoth.R http://vinoth-vinothblog.blogspot.com http://www.e-consystems.com
    • Marked as answer by Bin-ze Zhao Monday, January 31, 2011 5:29 AM
    Thursday, January 27, 2011 11:15 AM