How can i get The MAC address

How can i get The MAC address from existing system. Plz send me any Code
about the MAC Address

How can i get The MAC address from existing system. Plz send me any Code
about the MAC Address

%x/ifconfig/

On Aug 2, 6:55am, “Rajashekar R.” [email protected] wrote:

How can i get The MAC address from existing system. Plz send me any Code
about the MAC Address

You’re going to need to be a LOT more specific about what exactly
you’re looking for - many modern systems don’t even have a definitive
“the” MAC address. For instance, I’m looking at ifconfig for one of my
Slicehost slices and it’s got TWO MAC addresses, one for the public IP
and one for the private interface.

BTW, I don’t think it’s relevant to this question, but the code you
attached in the first copy of this message has a nasty race condition

  • two people can easily wind up generating the same value in
    return_no since you’re creating it in the new action but saving it
    in the create action. You may want to look into a different way to get
    that behavior…

–Matt J.