ASP.NET: How to get MAC Address of Adapter

Posted by: Peter Brombergs UnBlog, on 13 Jun 2007 | View original | Bookmarked: 0 time(s)

using System;using System.Net.NetworkInformation;using System.Web;namespace MACAddress{ public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties(); NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); Response.Write("Interface information for "+ computerProperties.HostName + ": "+ computerProperties.DomainName...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1312 | Hits: 228

Similar Posts

  • Using T4 Templates for Simple DTOs more
  • Dynamic in C# 4.0: Creating Wrappers with DynamicObject more
  • Debunking the duct tape programmer more
  • Trials & Tribulations of running windows scripts in Vista more
  • Building a class browser with Microsoft Ajax 4.0 Preview 5 more
  • Microsoft StreamInsight and BizTalk Server - Preliminary Thoughts more
  • Demeter Transmogrifiers To The Rescue more
  • Silverlight 3 Multi-touch: The Basics more
  • Using the ObjectContainer in disconnected scenarios Part 2 more
  • System.Data.Linq.Binary is not XmlSerializable more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD