Category "Code Geeks"

Here in 24x7review.com we bring computer programming like .Net, C#, ASP.NET, MVC, Entity Framework, WCF, Web API, Android, Swift, iOS

Code Geeks

Asp.Net and C# code to retrieved Mac Address of System

| | 0 Comments

//Add following namespaces: using System.Web.UI.WebControls; using System.Net.NetworkInformation;   //Add following code on button click or form_load etc. NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();        String Mac_Address = nics[0].GetPhysicalAddress().ToString();   //String Mac_Address refer Mac...