There are so many sample out there:
You could simply use the NetworkAdapter's IANAInterfaceType.
For more refer this:
Detect connection type (Wifi/3G...)
Hope it helps!
what do you means by how to get current network connection type on 3G or Wifi?
are u asking on how to turn on data and Wifi Connection?
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?