Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Hardware informations

Discussion in 'General Discussion' started by Lka, May 11, 2007.

  1. Lka

    Lka

    Joined:
    Aug 6, 2006
    Posts:
    297
    In windows with ManagementObjectSearcher class you can find the motherboard id.
    How can I do that in osx?
     
  2. podperson

    podperson

    Joined:
    Jun 6, 2006
    Posts:
    1,371
    There's no exact equivalent -- but try:

    About this Mac (from the Apple menu)

    Then click More Info.

    A Mac is defined by its Machine Model (e.g. MacPro 1,1) not its motherboard (or whatever) since Apple doesn't build boxes out of random off-the-shelf parts. (Well, not entirely ... the RAM, hard disk, and some things are random, off-the-shelf parts.)

    (Consequently, you can take a hard disk from one Mac and boot up another Mac from it flawlessly ... you generally pay 10-20% premiums to Dell or HP for parts standardization like that.)
     
  3. Lka

    Lka

    Joined:
    Aug 6, 2006
    Posts:
    297
    I suspect it's not documented but the motherboard should have a id.
    So, how can I identify univocally a mac? I'd prefer to avoid the mac address because yo can have multiple lan card, also you can have multiple processors or hard drive.

    Maybe I have to keep all ids. How can I get the cpu id, hard drive id and mac address?
     
  4. Lka

    Lka

    Joined:
    Aug 6, 2006
    Posts:
    297