title: How to get MAC address of client machine?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2018982/how-to-get-mac-address-of-client-machine-in-c-sharp-and-vb-net">How to get MAC address of client machine in c# and vb.net</a>  </p>
  </blockquote>
  
  
  
  <p>Below is my code which runs at server side:</p>
  
  <pre><code>NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
      foreach (NetworkInterface adapter in nics)
      {
          IPInterfaceProperties properties = adapter.GetIPProperties();
          string _temp = adapter.GetPhysicalAddress().ToString();
          if (!string.IsNullOrEmpty(_temp))
          {
              lblmac.Text = "your MAC address:&lt;b&gt; "+_temp+"&lt;/b&gt;";
          }
      }
  </code></pre>
  
  <p>which gives the MAC(12 - digit hexadecimal number)address of server</p>
  
  <p>I need to get mac address of the client machine.</p>
  
  <p>How?</p>