How to Turn off Data Connection (gprs/3g/hsdpa) programmatically ?

Last post 06-02-2009 8:26 by ameya.nadkarni. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-02-2008 6:23

    • blisse
    • Not Ranked
    • Joined on 12-02-2008
    • Posts 1

    How to Turn off Data Connection (gprs/3g/hsdpa) programmatically ?

    Hello

    I'm new in developing apps for mobile devices. i use the new HTC touch HD and develop with c# + vs2005 + wm prof 6.1. 

    I want to know, how can turn off the Data Connection settings for gprs/3g/hsdpa from source code.

    When i run my app and connect with the ConnectionManager to the internet the Device Data Connection settings becomes enabled, that's okay so far but when i Disconnect by ConnectionManager the Device Data Connection settings keeps enabled. How can i get it disabled ?

    Thanks for any help

     

     

  • 06-02-2009 8:26 In reply to

    Re: How to Turn off Data Connection (gprs/3g/hsdpa) programmatically ?

    You need to use RasHangUp API to close the data session. cheers, Ameya
Page 1 of 1 (2 items)