CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    11

    how to identify uniquely a PC?

    For registration purpose i'm trying to find a simple way to uniquely identify the PC on which my app is running, or at least something that can be acceptable and that can not be easily bypassed...

    I want something simple and that works on all version of windows down to 98, that's why i don't want any of the wmi system functions, that requires to have the full microsoft sdk installed, and that doesn't seem to work on Win2000.

    So what is the easiest way to go?

    GetVolumeInformation () returns the disk ID, but it is something generated by the OS that changes if you change your disk partition... It could be acceptable, but is there any other simple idea?

    thanks

  2. #2
    Join Date
    May 2005
    Posts
    4,954

    Re: how to identify uniquely a PC?

    How about CPUID?
    This article might help: Three Ways to Retrieve Processor Information

    Cheers
    If a post helped you dont forget to "Rate This Post"

    My Article: Capturing Windows Regardless of Their Z-Order

    Cheers

  3. #3
    Join Date
    May 2004
    Location
    London, England
    Posts
    563

    Re: how to identify uniquely a PC?

    Take your pick, here and here

    Regards
    I don't mind that you think slowly but I do mind that you are publishing faster than you think. Wolfgang Pauli, physicist, Nobel laureate (1900-1958)

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