We just use a plain text file, named as /Users/Shared/Company Name/Product Name/Product Name Serial Number
On app launch, it looks for a serial number file in this location. If it is not found, then it checks the /Library/... folder and if a file is found there, then it copies it to the new /Users/Shared... location. Martin Baker www.digital-heaven.co.uk www.twitter.com/digitalheaven www.videospaceonline.com www.finalcutters.com ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03 On 7 Aug 2011, at 00:34, Garth Hjelte wrote: > At 06:01 PM 8/6/2011, you wrote: > >> We *aren't* storing the serial number in the general preferences >> file, it is stored separately. In my experience, this isn't a >> particularly unusual approach. >> The user's own preferences are still stored at ~/Library/Preferences >> so that file can be trashed without affecting the serial number >> authorisation. >> I hope that explains things :-) > > Do you name that file with a very different name so that there is > less or little chance that the person trashes it? > > I use plists, and my prefs files are always called > "com.chickensys.[appinlowercase].plist". That's consistent. For auth, > I don't know how I'd get away from that format and be obscure enough. > > Garth Hjelte > Sampler User > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
