Can I get the type of data connection the mobile device is using at runtime?

Timing and Size Statistics are Updated Continuously

51Degrees.mobi continually monitors the amount of data sent and received along with the time taken. The average statistics for the past 5 minutes can be queried at runtime.

The follow code would return the average bandwidth and the average page response time.

C#

var bandWidth = MobileProfile.Bandwidth;
var responseTime = MobileProfile.ResponseTime;

These properties can be used to alter the behaviour of the application at runtime. For example; reducing the number of images displayed, or even informing the user that they should try using the application when they've more bandwidth available.

Download Free Trial    Buy a License

Requires Visual Studio 2008 or 2010 and ASP.NET v2 or greater.

Menu:
width:
  
Background:
Text Size:
Menu 01 Menu 02 Menu 03 Menu 04 Background 01 Background 02 Background 03 Background 04 Background 05 Background 06 Background 07 Background 08 Background 09 Background 10
Open Top Panel
Close Top Panel