Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Xtra to get the Mac Address of the computer (both PC and Mac)

Posted on 2004-08-03
Last Modified: 2013-12-24
I need to get the Mac Address of the computer I am on (for serial generating purposes), but I haven't come across anything that would help, except for http://www.experts-exchange.com/Programming/Programming_Platforms/Mac_Prog/Q_20452808.html      .  AJ_Brindley had created an xtra (it would seam) to do just this.  Does anyone know where I could get his xtra, or know of an Xtra or some straight forward way of doing this (no command prompts or shells please, and I would rather not program this xtra myself if it has already been done).

Question by:backbaychef
  • 2
  • 2
LVL 20

Accepted Solution

MediaMacros earned 500 total points
ID: 11708628
MUS Xtra might be able to help.  I know it can get the local IP.  Might have some luck on Mac Address. You can also use the Shell Xtra from
TO send commands and get back results from the OS Shell.

Author Comment

ID: 11717950
It is a great xtra, I tried it out, but I am trying to avoid the shell access, as it can become very messy trying to isolate those things and I am trying to support OS 9 as well as OS X and Windows.
LVL 20

Expert Comment

ID: 11718187
I found this for the PC...

It claims to get the Mac addresses (some Machines amy not have any if there is no network card.

You can also use ipConfig on the PC to store a text file you then read with the info, and applescript can do this on the Mac.

I don't know of any other method other than creating a custom Xtra.  We have done this in the past for things like parsing CSV files, etc, so Mac address shoudl not be that difficult to get bundled in an Xtra.

Author Comment

ID: 11718658
Well I think I will just use the shell script as that is still OS X and Windows compatible.  Thanks for your help, it seams that you know your stuff.


Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question