Solved

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

Posted on 2004-08-03
4
271 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 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
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now