Salem - It will also need to work on a computer without internet connection. About the need for protection, well nobody is willing to pay for a free program are they? My program is quite extensive and I would not put as much effort into it if it was sharewere. I just need something simple though.
mike_g - Ok so it might not be such a good idea then.
I found this in another thread here. Do you think it is a good idea to use something like this? Supposedly the volume serialnumber is possible to change but I don't think that is a thing you generally do. The code:
This is modified form a sample found here:
bIsRetrieved = GetVolumeInformation("C:\\",NULL,NULL,&dwVolSerial,NULL,NULL,NULL,NULL);
int serial = (int)dwVolSerial;