473,412 Members | 5,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

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#
Nov 15 '05 #1
4 2687
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

"Bluetears76" <bl*********@yahoo.com> wrote in message
news:3c**************************@posting.google.c om...
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#

Nov 15 '05 #2
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!
Nov 15 '05 #3
I have seen a sofware named .. kazaa. it shows the bandwidth of the
users and file to download...
How do they do that
Nov 15 '05 #4
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!

"Bluetears76" <bl*********@yahoo.com> wrote in message
news:3c**************************@posting.google.c om...
I have seen a sofware named .. kazaa. it shows the bandwidth of the
users and file to download...
How do they do that

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Adam Parkin | last post by:
Hello all, I need to be able to detect if there is an active available Internet connection in my VB6 program. In my program I'm using the Internet Transfer Control to transfer some files by HTTP,...
9
by: ThunderMusic | last post by:
Hi, probably the question have been asked many times, but I can't find the answer anywhere. Is there a way to detect if an internet connection is active? just like Internet explorers detect you...
5
by: John | last post by:
Hi Does anyone have an example of using the Internet Transfer Control from behind a proxy server on port 8080? Thanks Regards
0
by: John | last post by:
Hi I am trying to use the internet transfer control to send some data to a site. I want my MS ISA proxy server to keep the connection alive. What syntax should I use to send the 'keep alive'...
10
by: Daven Thrice | last post by:
I have a database that needs to be replicated over the Internet. I was hoping it would be a simple task, but apparently it is not. I've started browsing the msdn article on the topic. In the...
0
by: Paul Johnson | last post by:
I have not found code that can successfully opena dn close a connection, so I created the class below. It will open, disconnect and check the type of internet connection you have. Paul R....
8
by: Nikola Bucic | last post by:
Could someone tell me how can I constantly check if I'm connected to internet and if possible to determine what type of connection is it. My best shot wright now is to have a timer which will...
5
by: Ke Tao | last post by:
HI All, Is there anybody have an idea of how to detect internet is reachable ? At present , I'm using ping to detect internet is reachable , but it's maybe a bad idea , some firewall of router...
1
by: =?Utf-8?B?QiBTaW5naA==?= | last post by:
Hi Scenario 1) Host - XP Laptop with internet connection using Sky Broadband Wireless Router Netgear DG834GT 2) MS Virtual Server 2005 - I have deployed an XP MS Virtual Server 2005 to act...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.