title: Query MAC address of port in switch
body: <p>in our production line we place a chunk of Windows devices (PCs, Notebooks, …) on a shelve for the preinstallation and test procedure. The devices are swapped out frequently.</p>
  
  <p>I would like to digitally map those shelve and Show it with some Information About that device on a screen. To figure out which device is placed on which Point I would like to query the MAC address of the port on the switch where the device is connected to.</p>
  
  <p>It could be something like a one hop Tracert just with MAC address instead of IP Address.</p>
  
  <p>Are there any Methods that I can programmatically use. I would prefer some C# Methods.</p>
  
  <p>Thanks in advance.</p>