

NetworkInterface nics = NetworkInterface.GetAllNetworkInterfaces() įoreach (NetworkInterface adapter in nics)įoreach (UnicastIPAddressInformation unip in adapter.GetIPProperties().UnicastAddresses) Public static string GetMyMacAddress(string ip)
:max_bytes(150000):strip_icc()/003-how-to-find-your-ip-and-mac-addresses-in-windows-76b63bc2b2ad46c8b159663d2ee62c52.jpg)
/ string com os bytes separados por hífen / Dado um ip que pertença a mesma rede, o MAC Address será dado _erro = "Não foi possível executar comando ARP" If (SendARP((int)IP.Address, 0, macAddr, ref macAddrLen) != 0) Public static string TryGetMacAddress(string ip) / String com o MAC Address no formato XX-XX-XX-XX-XX / Recupera o MAC Address de um equipamento na rede local baseado em seu IP Public static extern int SendARP(int DestIP, int SrcIP, byte pMacAddr, ref uint PhyAddrLen) If not, feel free to contact me for more information.I already have tools that can identify the Mac-Address of devices on my network, as long as the 'server' or application is running on Windows and. I literally gave it away to the general public as is right. I was working on my PhD at the time and was hired by Honeywell to implement my design. all are based on this simple technology.Īm I rich? Not even close. Store and forward, offline browsing, push technology, etc. There were many processes built off of this simple idea (it was pretty cutting edge when I first designed it). It's a VERY simple process that I developed back in 1992 when the Interwebs were still pretty new to most people. The server puts any needed data in an xml (readable) and the thermostat (or quite a few other devices) hits that URL a few seconds later (the device told the server where it would pick up that info).Īll your device needs is a simple read-only connection to the outside world. If it needs to make a request then it gives the server a unique key. What happens is the unit makes a report to the server.

As long as the unit has permission to make an outbound connection it will work. The unit is allowed access to the Internet via your setup and the router. I can tell you exactly how I designed it.

I'm the lead designer and project manager on the Honeywell systems.
