Can I check who is connected to your wireless network?

So, after several hours of research, I did not find anything about this issue.

Can I find out who is connected to my wireless network using C #?

Example: I have 2 laptops - laptop A and laptop B.

  • A launches my program, which I did, and is connected to my wireless network.

  • B starts up and connects to my wireless network. A can now see that B is connected to the wireless network through the program I did.

Is it possible?

+6
c # networking wireless
source share
2 answers

Can I see who is connected to my wireless network using C #?

Option 1) depends on which device of your wireless connection (presumably for a router or access point) and how it is programmed. For example, if you have Linksys WRT54GL, you can download DD-WRT or other OSS firmware and write your own modules to monitor this behavior. Programming this module in C # will require loading the mono libraries into the DD-WRT installation.

Option 2) install a "heart rate monitor" on each machine that can connect to a wireless network. Once the connection with this gateway has been made, the daemon tells the other monitors that it is now connected to the network.

Option 1 is best if you do not have control over connecting devices. Option 2 is best if you can control device connectivity.

+3
source share

In theory, yes - if your wireless router provides an API with which you can connect to get a list of currently connected clients, then most likely you can write something in C # to ask the API for changes.

In practice, I don’t know any wireless router that actually does what I suggested above. Again, I never looked at her the way I know!

0
source share

All Articles