>How can I protect my software from being copied.
>Is there a chance to create a function that looks for the serial number of the hard drive each time the software starts? So if they install it on a diferent hard drive it wont work. That would be nice and this way I can sleep better. Or are there other better options?
Hi Kilian,
You ca get the serial number of the hard drive with the API call GetVolumeInformation, but this don't works on NTFS volumes.
I don't recommend you this approach, if the user changes the hard disk = problems.
I prefer use an hidden file or working in the registry.