Click here to Skip to main content
15,891,184 members

Response to: Find the Mac id Of client Machine

Latest Revision
C#
using System.Net.NetworkInformation


private void Form15_Load(object sender, EventArgs e)
      {
         
          NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();

          label1.Text = nics[0].GetPhysicalAddress().ToString();

      }
Posted 14-Mar-12 1:38am by siri2012.
Tags: ,