Does anybody know the best way to obtain information regarding the user's PC/Windows set-up. Also, is there any 'unique' identifyer I can access in my code?? When I say unique, I mean something like the Windows installation serial number or something like that.
I'm curious from a piracy-prevention context. Currently, my programs generate a unique license number when first run by a user on a particular PC. However, if the user copies a 'registered' copy of the software to a friend's PC (for example) they are getting 'free' software!
If I could somehow save some machine/OS specific information along with the license number so that the software only runs on that single machine, that would be great.
Does anyone know the best way to do this?
FYI: I've been looking at functions such as:
GetCurrentHWProfile()
and
SystemParametersInfo()
I'm curious from a piracy-prevention context. Currently, my programs generate a unique license number when first run by a user on a particular PC. However, if the user copies a 'registered' copy of the software to a friend's PC (for example) they are getting 'free' software!
If I could somehow save some machine/OS specific information along with the license number so that the software only runs on that single machine, that would be great.
Does anyone know the best way to do this?
FYI: I've been looking at functions such as:
GetCurrentHWProfile()
and
SystemParametersInfo()