Click here to Skip to main content
15,881,281 members

Response to: Find the Mac id Of client Machine

Revision 1
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: ,