Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Find the Mac id Of client Machine

, 1 May 2012
using System.Net.NetworkInformationprivate void Form15_Load(object sender, EventArgs e) { NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); label1.Text = nics[0].GetPhysicalAddress().ToString(); }

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

13 Mar 2012
El_Codero
Hi,easy to achieve with WMI. Try this:private string GetMac(){ string Mac = string.Empty; ManagementClass MC = new ManagementClass("Win32_NetworkAdapter"); ManagementObjectCollection MOCol = MC.GetInstances(); foreach (ManagementObject MO in MOCol) if (MO...
13 Mar 2012
siri2012
2 alternatives  
How to find the MAC Id of Client Machine

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

siri2012

United States United States
No Biography provided

| | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 1 May 2012
Article Copyright 2012 by siri2012
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid