protecting an app for illigal copying
Posted: Sun Nov 13, 2016 2:32 pm
Hello Antonio,
I want to protect my app from illigal copying/distibuting. In Windows I use the serial number of the harddisk where the app is installed on. This serial number is a 8 numbers HEX string like 'AE23 12BF'. In my app I calcutates with this string so users can only install the app on one disk, depending on a key I give them.
I have looked in Apple developers for such functionallity, but the harddisk number seems not to be a save way. However, every Mac has a unique MAC-adres which I can use to protect my app. Here is a explanation:
https://developer.apple.com/library/content/technotes/tn1103/_index.html
Is it possible for you to make a function that retrieves the MAC adres of a computer? Someting like 'cMacAdres:= GetMacAdres()'. With this string I can protect my app with a registration key that I store in a .plist
On the next page is a sample code, hope this can be build in.
https://developer.apple.com/library/content/samplecode/GetPrimaryMACAddress/Introduction/Intro.html
René
I want to protect my app from illigal copying/distibuting. In Windows I use the serial number of the harddisk where the app is installed on. This serial number is a 8 numbers HEX string like 'AE23 12BF'. In my app I calcutates with this string so users can only install the app on one disk, depending on a key I give them.
I have looked in Apple developers for such functionallity, but the harddisk number seems not to be a save way. However, every Mac has a unique MAC-adres which I can use to protect my app. Here is a explanation:
https://developer.apple.com/library/content/technotes/tn1103/_index.html
Is it possible for you to make a function that retrieves the MAC adres of a computer? Someting like 'cMacAdres:= GetMacAdres()'. With this string I can protect my app with a registration key that I store in a .plist
On the next page is a sample code, hope this can be build in.
https://developer.apple.com/library/content/samplecode/GetPrimaryMACAddress/Introduction/Intro.html
René