Internet Connection Type

  • Thread starter Thread starter Bluetears76
  • Start date Start date
B

Bluetears76

I want to find out what is the internet connection type of my
computer. i.e. Am i connected via 56K modem, DSL, Cable, T1, T2, T3.
Or if i am in a Lan, what is the connection type on the gateway?

How can I find it out using C#?
Thanx in advance for any response
p.s. I am a starter in C#
 
Hi,

That is very difficult to know , if not impossible, usually what you do is
let the user select the connection speed. Why it's difficult? cause the
connection type is determined not by the connection of the local machine but
for the way that your local LAN is connected, I'm going to give you one
example, if you are using an external broadband modem and you connect to it
using an ethernet, then your machine's connection is 100MBPS but the modem
can be DSL/Cable/ even a TX ,
one possible way of guessing it is making a ping to a predefined internet
site and make a table with the expected response time, but this is only good
to differentiate from a dialup connection to a broadband and even so is far
from been 100% sure !!!!.

Again, I do not think that there is a way to determine how you are connected
from code, let the user decide it.

Hope this help,
 
I have seen a software named Kazaa .. it shows you the speed and
bandwidth of a file which you are going to download..
How does it do that... It does not take any infomration from user
 
I have seen a sofware named .. kazaa. it shows the bandwidth of the
users and file to download...
How do they do that
 
Actually it does, it asks the user on install. It also is about as good at
estimating download times and Windows Explorer is at guessing transfer
times!
 
Back
Top