473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detecting Network Connections

I am developing a Windows Forms application that will need to check the
status of the various network devices installed on the host machine. The
machine in question is a Tablet PC (Tablet PC OS which is essentially XP
with the whole ink superset etc), equipped with a sprint air card, a
wireless card, and the docking station has a slot for a LAN connection. I
need to check the status of all three... i.e is the Wireless Card active? Is
the Sprint Air Card Connected? Is the user connected directly to the LAN...?

I am lost in the myriad of namespaces and was wondering if anyone could
help.

Thanks

--

---
Email: kunal.das[at]removethis-.sclot.com
---

Nov 15 '05 #1
1 1801
Nevermind..the System.Manageme nt namespace gave me all I need.

--

---
Email: kunal.das[at]removethis-.sclot.com
---
"Kunal" <kunal.das[at]nospam.removeth isalso.sclot.co m> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
I am developing a Windows Forms application that will need to check the
status of the various network devices installed on the host machine. The
machine in question is a Tablet PC (Tablet PC OS which is essentially XP
with the whole ink superset etc), equipped with a sprint air card, a
wireless card, and the docking station has a slot for a LAN connection. I
need to check the status of all three... i.e is the Wireless Card active? Is the Sprint Air Card Connected? Is the user connected directly to the LAN...?
I am lost in the myriad of namespaces and was wondering if anyone could
help.

Thanks

--

---
Email: kunal.das[at]removethis-.sclot.com
---

Nov 15 '05 #2

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

Similar topics

6
2578
by: Matt Hawley | last post by:
I'm facing a problem where I need to verify that my windows forms application has access to the internet before it can do anything. Currently, the only way I can think of is by creating a HttpWebRequest and point it to the specified URL I wish to connect to later on, and if that throws an error, I know I don't have an internet connection. Is this the best method for detecting an internet connection, or is there some sort of routine that I need...
6
2392
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's networking capabilities by writing a simple instant messenger program. I only have a few problems: 1. I know squat about Python network Programming 2. I know nothing about networks
0
829
by: dtp | last post by:
Is there an API that can tell me if the platform my software is running on has a wireless network adapter (802.11 a/b/g)? I'm working in visual studion 6.0, but would use VS 7.0 and .Net if necessary.
4
8779
by: Alex | last post by:
Hi All I'm writing scripts in VBS fore years. But now I've to write a tool in Visual Basic .Net which has to connet to a Windows domain. I know how to do this in VBS but I don't find a way in VB.Net. I've no idea how to logon to the domain via Net.Socket. It is not necessary to map a network drive. I can transfer data via UNC names. Can anybody give me a suggestion how to realize it?
2
1821
by: Martin Robins | last post by:
Ok, I know this has been asked hundreds of times before (though for .net CF 1.0), but I want to detect when wired and/or wireless connections are made or broken from within the .net CF 2.0 (the physical connection). I have done something similar in 1.0 using ConnectionManager which would connect if a connection was available and throw me an event when that connection died, but is there anything new in the new framework? I have looked...
25
11273
by: Matt Kruse | last post by:
According to HTTP/1.1 specs, a client should only have two connections open to the host at a time (which can be changed by browser users, of course). When using xmlHttpRequest connections, is there any way to detect that the request is queued? I did some tests (see "Queued Requests" at http://www.ajaxtoolbox.com/request/examples.php ) and it looks like readyState 1 is fired immediately after the request is made, even though it's not...
0
1037
by: Ganwold | last post by:
I have a created a multi-threaded TcpClient server that works for my needs. Each thread uses synchronous (blocked) communication to wait for a command from the client Here's the problem...if a client does not gracefully disconnect (unplug the device from the network or a power failure), my server does not recognize the lost connection and just continues to wait to receive data. Any help would be great, I have been searching online for a...
9
5563
by: timor.super | last post by:
Hi group, I've written a client/server application, using the dotnet sockets. In my server, I have a thread waiting for messages with : ret = currSocket.Receive(buffer, 1024, SocketFlags.None); When the client exits, I close the socket with a specific message (like "end") and the thread terminate in a proper manner, but If my client crashes, the server is still waiting for receiving data, and
1
2194
by: Steve | last post by:
Hi All I have a windows application (written in VB.net 2005) which I update via web downloads to my clients computers The downloaded file is saved in a subfolder until the next time the clients computer is started An entry in the registry HKCU\Software\Microsoft\Windows\CurrentVersion\Run launches my Update program on the next windows XP start
0
8403
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8509
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6174
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.