Login | |
|
 |
RE: function returns what kind of internet connectivity... - 1/27/2006 7:08:12 AM
|
|
 |
|
| |
ebgreen
Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
|
I don't know that there is a simple way to do this. To get the connection type, you could try using WMI and the Win32_NetworkAdapterConfiguration class to look for what connection has an IP address then parse that adapters Caption and Description properties to determine the connection type. AS for the speed, I think you would need to query some remote site for something then calculate the speed based on the time and the amount of information transferred. I've never seen code to do this published anywhere though. Perhaps you could explain what your end goal is and there may be some other way to get there.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|