i'm looking for a way to power on or off the GPRS adapter programatically.
If you're already using the Smart Device Framework, the ability is already there in the API, as you can see in this blog entry (the blog is for WiFi but the phone radio and bluetooth work the same way).
THe other option is to call ChangeRadioState in ossvcs.dll yourself (that's what the SDF is doing).
来源:https://stackoverflow.com/questions/1164057/power-on-off-gprs-on-windows-mobile