RR version: RR 4.0
I have an RR standalone application that will be distributed to some people for use very soon. I don't want them to re-distribute the application to other people. Therefore I decide to protect the application. After I searched and read all related posts on the Internet, I am thinking to use the following procedures:
1. Each application will be built according to the email address of the users. Since the number of users are very limit, this process will not be a problem.
2. When a user open the application for the first time, the user's computer hardware information will be taken. It seems that the following hardware information can be taken:
- - MAC Address
- - Hard Disk Serial Number
- - Computer Name
MAC Address
There is a very nice function to get the MAC Address at:
http://www.sonsothunder.com/devres/revo ... env001.htm
However, some people may using two Network Cards on their computer. Will the above function works in this situation? Or the function may get the MAC Address of either Network Card? Or error may appear? Since I don't have computer with two Network Cards so I cannot test it.
Hard Disk Serial Number
It seems that all people are getting the Serial Number of Drive C.
Are one of the Hard Drives of Windows must be "C"?
Is it possible that the drives of a Windows computer do not assign to "C"?
3. The email address and one or two of user's computer hardware will then be saved to an hosting server.Computer Name
I learned that:
If the platform is "Win32", use $COMPUTERNAME to get the Computer Name
For other platform, use shell("echo $HOSTNAME") to get the Computer Name
How about Win 64? Also use $COMPUTERNAME to get the Computer Name?
4. Every time the application open, it will compare with the data saved in the hosting server. If it passes, the application will allow to use, otherwise, the application will be closed.
This is the procedures that I am thinking to use.
Please help!
Best regards
Alex