Click here to Skip to main content
13,091,363 members (61,968 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

0 views
Posted 14 Mar 2012

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
Björn Ranft
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
This member doesn't quite have enough reputation to be able to display their biography and homepage.

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.170813.1 | Last Updated 1 May 2012
Article Copyright 2012 by siri2012
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid