Results 1 to 5 of 5

Thread: can i use MAC as unique identifire

  1. #1

    Thread Starter
    Hyperactive Member koolprasad2003's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    443

    Question can i use MAC as unique identifire

    hello frnd,
    can i use N/W adaptor MAC as unique identifire, i heard that it is unique and does not change...
    can MAC change if i reinstall my OS

    is it safe to use the MAC...


    thankx in advance
    koolprasad2003
    MCP, MCTS, Microsoft MVP [Asp.Net/IIS]

    For more .NET development tips visit .NET Tips

    If the post is useful then please Rate it

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: can i use MAC as unique identifire

    A components MAC address is unique and static so it will not change, even if you reinstall your OS.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: can i use MAC as unique identifire

    I think the answer is yes but it is possible to spoof MAC addresses see this thread: http://www.vbforums.com/showthread.p...ht=mac+address

  4. #4
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: can i use MAC as unique identifire

    mac addresses are unique (usually! Repeats have been known to happen) but don't assume that a client's computer has one. Not every computer has internet or an ethernet port If you read the mac address of a computer without one, you get a different number every time.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: can i use MAC as unique identifire

    MAC addresses of Ethernet adapters are most certainly not unique.

    Most network cards arrive with a built-in default value that incorporates a subvalue assigned to the manufacturer, and another subfield that the manufacturer tries to assign sequential values to. Because MAC addresses need to be unique within a LAN segment, almost all adapters made today allow the user to configure a different one. For modern adapters this is typically changeable through the adapter's Properties in Windows. Older cards used a setup utility to modify the value in NVRAM, or even had jumpers on the card.

    In most cases one can consider them reasonably unique but normally you should combine the value with some other one if you want to use it for... well something besides Ethernet addressing within a segment.
    Last edited by dilettante; Mar 1st, 2008 at 02:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width