Member Avatar

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.

Recommended Answers

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 [url]http://en.wikipedia.org/wiki/Uuid[/url]

Jump to Post

All 2 Replies

Re: windows machine-specifi string in c 80 80

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

Re: windows machine-specifi string in c 80 80
Member Avatar

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.