title: how to get mac address of client that browse web site by asp.net mvc c#
body: <p>I'm trying to get mac address from the client's machine that browse my web site, I've been used this:</p>
  
  <pre><code>using System.Management;
  class Sample_ManagementClass
  {
      public static int Main(string[] args)
      {
          ManagementClass objMC = new
          ManagementClass("Win32_NetworkAdapterConfiguration");
          ManagementObjectCollection objMOC = objMC.GetInstances();
  
          foreach (ManagementObject objMO in objMOC)
          {
              if (!(bool)objMO["ipEnabled"])
                  continue;
  
              Console.WriteLine((string)objMO["MACAddress"]);
          }
      }
   }
  </code></pre>
  
  <p>But it is not recognized Management Namespace, so what should I do? </p>