Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

read mac address?


  • Please log in to reply
2 replies to this topic

#1 allen

allen

    Member

  • Members
  • PipPip
  • 21 posts

Posted 23 April 2012 - 07:58 PM

What's the best way to read a netduino plus's mac address programmatically? Does the rj45 have to be plugged in to read it?

#2 BanksySan

BanksySan

    Member

  • Members
  • PipPip
  • 28 posts
  • LocationBristol, United Kingdom

Posted 23 April 2012 - 08:48 PM

I think
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].PhysicalAddress
is what you're looking for.

#3 allen

allen

    Member

  • Members
  • PipPip
  • 21 posts

Posted 23 April 2012 - 10:12 PM

excellent, tyvm




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.