Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hard disk serial Pin
Fabio Miguez17-Jan-05 11:02
Fabio Miguez17-Jan-05 11:02 
GeneralRe: Hard disk serial Pin
Blake Miller17-Jan-05 11:11
Blake Miller17-Jan-05 11:11 
GeneralRe: Hard disk serial Pin
Fabio Miguez17-Jan-05 12:17
Fabio Miguez17-Jan-05 12:17 
GeneralRe: Hard disk serial Pin
David Crow17-Jan-05 13:31
David Crow17-Jan-05 13:31 
GeneralRe: Hard disk serial Pin
Fabio Miguez17-Jan-05 16:08
Fabio Miguez17-Jan-05 16:08 
GeneralRe: Hard disk serial Pin
Ryan Binns17-Jan-05 19:46
Ryan Binns17-Jan-05 19:46 
GeneralRe: Hard disk serial Pin
thompsons17-Jan-05 17:53
thompsons17-Jan-05 17:53 
GeneralRe: Hard disk serial Pin
Fabio Miguez18-Jan-05 1:27
Fabio Miguez18-Jan-05 1:27 
Hey Steve and Ryan,

It seems GetVolumeInformation doesn't return the HDD serial, but the "volume" serial, which changes every time you format the HDD (or is the same for cloned HDDs, which a bunch of manufacturers do).

Apparently there is no easy way to get HDD serials, short of the complex (to me) code in diskid32. I also found that my number is negative because under Windows, when formatting a drive, the volume serial can be either positive or negative. So you could use this number for copy protection, but if the user passes it on to someone who happens to have the same model of computer (say, the same Dell), this volume serial might be the same. What are the chances? Not great, but this is definitely not the way to go for large scale applications.

Microsoft activation, for example, uses the actual HDD serial, among others, probably with code similar to diskid32.

My question now is are there any other hardware serials (video card, mobo, memory) that are more easily accessible to begginers like me?

Best Regards

Fabio Miguez
GeneralRe: Hard disk serial Pin
Blake Miller18-Jan-05 5:07
Blake Miller18-Jan-05 5:07 
GeneralRe: Hard disk serial Pin
Fabio Miguez18-Jan-05 5:34
Fabio Miguez18-Jan-05 5:34 
GeneralInitilization List Pin
poiut17-Jan-05 9:24
poiut17-Jan-05 9:24 
GeneralRe: Initilization List Pin
Shog917-Jan-05 10:30
sitebuilderShog917-Jan-05 10:30 
GeneralRe: bloodshed dev c++ compiler Pin
nuclzink17-Jan-05 13:55
nuclzink17-Jan-05 13:55 
GeneralSHFileOperation Pin
Miszou17-Jan-05 8:52
Miszou17-Jan-05 8:52 
GeneralRe: SHFileOperation Pin
Shog917-Jan-05 10:23
sitebuilderShog917-Jan-05 10:23 
QuestionWhere's iostream? Pin
Kyle Bishop17-Jan-05 7:58
Kyle Bishop17-Jan-05 7:58 
AnswerRe: Where's iostream? Pin
Tim Smith17-Jan-05 8:20
Tim Smith17-Jan-05 8:20 
AnswerRe: Where's iostream? Pin
Gerald Schwab17-Jan-05 9:22
Gerald Schwab17-Jan-05 9:22 
AnswerRe: Where's iostream? Pin
User 665817-Jan-05 9:23
User 665817-Jan-05 9:23 
GeneralRe: Where's iostream? Pin
Kyle Bishop17-Jan-05 10:04
Kyle Bishop17-Jan-05 10:04 
GeneralRe: Where's iostream? Pin
Christian Graus17-Jan-05 10:11
protectorChristian Graus17-Jan-05 10:11 
GeneralRe: Where's iostream? Pin
Kyle Bishop17-Jan-05 10:32
Kyle Bishop17-Jan-05 10:32 
GeneralRe: Where's iostream? Pin
Christian Graus17-Jan-05 10:36
protectorChristian Graus17-Jan-05 10:36 
AnswerRe: Where's iostream? Pin
Michael Dunn17-Jan-05 14:43
sitebuilderMichael Dunn17-Jan-05 14:43 
AnswerRe: Where's iostream? Pin
thompsons17-Jan-05 18:01
thompsons17-Jan-05 18:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.