Getting a MAC address from a received UDP packet in C#

  • Thread starter Thread starter Guest
  • Start date Start date
You can't. The MAC address is not propagated over the network in either IP,
UDP, or TCP packets.

If the sender is on your LAN then you can use the IP address to obtain the
MAC address, but not if the sender is on another LAN.

Thomas P. Skinner [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top