Programming Question

D

David Pope

I have developed a mobile application that uses an internet connection
whether it be WiFi, dial-up, bluetooth etc...

I am wondering if there is a way to tell which connection I am using. I have
a cell phone that has cell, wifi, and bluetooth and I want to know which
connection it's using.

Is this possible?

Thanks,

David
 
P

Peter Foot [MVP]

If it's a Windows Mobile device you can use the ConnectionManager API
ConnMgrEnumDestinations to get all the available network connections, which
will only help to identify those which are currently available - not the one
currently connected, but this might be a useful start. For a .NETCF wrapper
see the OpenNETCF.Net assembly in the SDF - www.opennetcf.org/sdf/

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top