C# – How to detect all devices attached to your wireless network

cwireless

I want to be able to pick up devices connected to our wireless network.

Namely:
1) Someone connects to OUR wireless device using their phone
2) We detect a new device is on the network and pick up the MAC Address off the phone

Does anyone know how to do this using C# libraries or can point me in the right direction?

Much appreciated.

Best Answer

I would prefer to write an Application which is going to Connect at you're Router. You can do it in 2 ways
1. Web Interface
2. Telnet Client

Using Web Interface WebRequest and Regex are you're friends where you can get from Router Connected Client's. Or using Telnet Client where Sockets is you're friend in this case . In both way's you can get any message you want and store them in a String where you can filter later .

Related Topic