Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-08-03
4
Medium Priority
?
289 Views
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).

--BackBayChef
www.backbaychef.com
0
Comment
Question by:backbaychef
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
MediaMacros earned 2000 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
http://staff.dasdeck.de/valentin/xtras/shell/
TO send commands and get back results from the OS Shell.
0
 
LVL 1

Author Comment

by:backbaychef
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.
0
 
LVL 20

Expert Comment

by:MediaMacros
ID: 11718187
I found this for the PC...
http://tenothree.com/xtras/To3GetMac.zip

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.
0
 
LVL 1

Author Comment

by:backbaychef
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.

--BackBayChef
www.backbaychef.com
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
Suggested Courses

926 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