I just a moment ago saw a request for finding the MAC adress of a remote host. An answer was that the MAC address is always sent as part of the TCP/IP protocol.
How would I go about retrieving this information from an ASP.NET C# application?
See: Reference to sister-post
Any such answer is false. The MAC address of an adapter is only available on the same network segment. Not on the other side of a router.
If your remote device is SNMP-enabled you can query it for its ARP cache. That will have the MAC address in it. See this FAQ entry for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With