CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    What is the unique in any PC?

    Hi all,

    i want to know what is the unique in any pc.

    i want to find a unique number of id to identify the pc.

    please tell me what is the different and unique in any pc.

    how can i find it?

    please help me for this.

    thanks in advance.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the unique in any PC?

    Probably, MAC address...
    But why do you need it?
    Victor Nijegorodov

  3. #3
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Re: What is the unique in any PC?

    Mac address is changeable in certain condition.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the unique in any PC?

    Quote Originally Posted by vjshankwar View Post
    Mac address is changeable in certain condition.
    Well, which part of the PC is not changeable in any condition?

    And, BTW, you haven't explained why you need it.
    Victor Nijegorodov

  5. #5
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Re: What is the unique in any PC?

    i need this for activation .

    there is any hardware device which is unique for every pc.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the unique in any PC?

    Unique does not mean not changeable.
    Victor Nijegorodov

  7. #7
    Join Date
    Jun 2011
    Posts
    35

    Re: What is the unique in any PC?

    Hi,

    I'm not the expert, but here's a suggestion.

    If you need this only to register an installation of a software, why not generate a unique ID based on the MAC address & the current timestamp? This should make sure that for this installation instance the id is unique. I have to tell that people that know themselves in PC are able to change any two of these variables.

    Let me know if this helped.

    Laurent

  8. #8
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Re: What is the unique in any PC?

    Quote Originally Posted by blaurent View Post
    Hi,

    generate a unique ID based on the MAC address & the current timestamp? This should make sure that for this installation instance the id is unique.
    Combination of MAC address and timestamp gives different id when second time request for activation.

    here i need to chk previously generated key and provide already given key for activation.

    so now what can i do?
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  9. #9
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the unique in any PC?

    Quote Originally Posted by vjshankwar View Post
    ...
    so now what can i do?
    Perhaps, you'll buy some third/party software that already can implement the activation.
    Victor Nijegorodov

  10. #10
    Join Date
    Jun 2011
    Posts
    35

    Re: What is the unique in any PC?

    Quote Originally Posted by vjshankwar View Post
    Combination of MAC address and timestamp gives different id when second time request for activation.

    here i need to chk previously generated key and provide already given key for activation.
    I know that my suggestion was not solving your problem but rather pointing out that there is well known software out there that limits itself to a certain amount of active installations. Of course I'm not aware of the specifications of your software so I'm not the one telling you what to do. How about generating a key (serial number) for a given user (who needs to register in order to obtain it) and you simply combine this serial number (encoded) with the MAC address? I suppose that's closer to what you want to do.

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

Featured