Ping or otherwise tell if a device is on the network by MAC in C#

Posted by Aric TenEyck on Stack Overflow See other posts from Stack Overflow or by Aric TenEyck
Published on 2010-04-02T14:23:32Z Indexed on 2010/04/02 14:33 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

I'm developing a home security application. One thing I'd like to do is automatically turn it off and on based on whether or not I'm at home. I have a phone with Wifi that automatically connects to my network when I'm home.

The phone connects and gets its address via DHCP. While I could configure it to use a static IP, I'd rather not. Is there any kind of 'Ping' or equivalent in C# / .Net that can take the MAC address of a device and tell me whether or not it's currently active on the network?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ping