Connect WiFi programmatically RRS feed

  • Question

  • Hello,

    I'm trying to open connection using WiFi programmatically and i need to make sure that the connection
    isn't opened using 3G\GPRS, is it possible?
    I'm working on WM 5\6 and i'm using ConnMgrEstablishConnectionSync API.

    Monday, August 3, 2009 8:28 AM


  • Hi robybd,

    Do you want to check whether GPRS is connected, if so, we can use ConnMgrQueryDetailedStatus method to enumerate all available connections and check its type. For more information:


    If it is not your case, please elaborate on your question.

    Best regards,
    Guang-Ming Bian - MSFT
    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Wednesday, August 5, 2009 9:07 AM

All replies