Member Avatar
manutm

Hi everybody,
I'm looking for a way of getting a machine-specific string on windows, something like cpu or hard drive or bios serial #. It has to be implemented in c, not c++. I've already browsed the api quite a lot but I'm not sure (and I don't know windows that much - I'm doing a win32 port of a linux app.) So, well, any clue would be quite appreciated...
Thanks in advance.

Are you looking to tie your program to that specific machine, or are you just looking for something which is unique?

If it's the latter, then consider a http://en.wikipedia.org/wiki/Uuid

Member Avatar
manutm

Using uuid seems the best way, thank you for your help.