Re: Copy Protection

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sat, 18 Mar 2006 09:54:55 +1000, Craig Welch <euphoria at cwelch.org>
wrote:

>A few people have discussed obtaining the hard disk serial number, in 
>the context of copy protection for their software.
>
>I'm looking at such schemes, for some software that I plan to release 
>commercially mid-year.
>
>There's an interesting discussion of some of the options here:
>http://channel9.msdn.com/ShowPost.aspx?PostID=107393

I had a few other ideas:

GetKeyboardLayout -- umm, I get 08090809
GetUserDefaultLangID -- "" (or), I get 02000809

GteLogicalDrives/GetDriveType=DRIVE_FIXED, eg:
	C: only: #4, C: & D: : #C, C:, D:, &E: #1C

GlobalMemoryStatus.dwTotalPhys	-- **GOOD**, I think

QueryPerformanceFrequency		-- **GOOD**, I think

The one I failed big time on was DeviceIoControl, with either 
"\\\\.\\C:" or "\\\\.\\PHYSICALDRIVE2"; I just could not get a handle 
from CreateFile (with the intent of getting TracksPerCylinder/ 
SectorsPerTrack/  BytesPerSector). If you can get that to work I would
like a copy (I can email my failed attempt if you like, and working 
code for phys.mem/pFreq).

I also thought about ComputerName, TimeZone, and GetVersion but 
quickly realised they should not be used as same PC could have 
multiple OS installed / be jet-setted around the world / need OS
re-install, etc.

The concept of say 3/5 matches means same machine, which the 
above link extols, is a pretty neat I think, thanks for that.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu