.NET Framework Bookmark and Share   
 index > Network Class Library (System.Net) > Wireless Network Programming
 

Wireless Network Programming

Hi All,
I am pretty new to network programming. I would like to know how can i get the IP address of the devices which are connected in a wireless network.

Any help is highly appreciated.

Thanks
Fairozkhan
shahidferoz
That is internal to your router and is not readily available to windows or the clr.
Does your router publish this information? Most routers offer web based tools for requesting such data so you might be able to request it via the webclient or httpwebrequest/httpwebresponse classes.
Wole Ogunremi
Hi Wole,
I mean there are two laptops with wireless connection. on one of the laptop i want to get all the ip's in wireless connection. like when i click on 'View WIreless Networks' it shows theconnected devices in windows.

i hope i am able to explain you my case.

Thanks
shahidferoz
The windows utility will only show you all connections on the local machine. So, you might have a wireless connection on a 192.168.*.* subnet, and a lan connection on another subnet, etc. It does not show you the IP Address of another computer connected to the network, unless you ask some name lookup service, for eg DNS to give you the IP address of a target computer.

As someone suggested above, you need to talk to your wireless router, and get the information. Or, if you know the hostname of the other laptop, you can try to lookup the address provided the router does DNS registrations for all hosts on it's network.

hope that helps.
feroze
--
My blog
Feroze Daud
I'm not too certain what you are after. Without wanting to send you in the wrong direction, I'll suggest looking at the Managed Wifi API for Wifi interop.
Wole Ogunremi

You can use google to search for other answers

Custom Search

More Threads

• UdpClient BeginReceive problem when sending to 127.0.0.1
• Developer Token
• Is System.Net.CookieContainer thread safe?
• How send big file (larger than 4GB) by HTTP POST multipart/form-data?
• Copy a folder structure across the world over a WAN
• Mikrotik Bandwdth teste application
• Java HTTPRequest to C#
• Use "Win32_TCPIPPrinterPort" to install a TCP/IP Port
• IPV6 multicast only seeing packets being sent by local PC
• IAsyncResult object exception