Internet Connection Type

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bluetears76

    #1

    Internet Connection Type

    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#
  • Ignacio Machin

    #2
    Re: Internet Connection Type

    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,

    --
    Ignacio Machin,
    ignacio.machin AT dot.state.fl.us
    Florida Department Of Transportation

    "Bluetears7 6" <bluetears76@ya hoo.com> wrote in message
    news:3c1cfe69.0 309112323.46466 2d3@posting.goo gle.com...[color=blue]
    > 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#[/color]


    Comment

    • Bluetears76 Bluetears76

      #3
      Re: Internet Connection Type

      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

      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Bluetears76

        #4
        Re: Internet Connection Type

        I have seen a sofware named .. kazaa. it shows the bandwidth of the
        users and file to download...
        How do they do that

        Comment

        • Kieran Benton

          #5
          Re: Internet Connection Type

          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!

          "Bluetears7 6" <bluetears76@ya hoo.com> wrote in message
          news:3c1cfe69.0 309122232.795fa d3f@posting.goo gle.com...[color=blue]
          > I have seen a sofware named .. kazaa. it shows the bandwidth of the
          > users and file to download...
          > How do they do that[/color]


          Comment

          Working...