|
|||
|
the way I consider to be used as follow:
1 user run an utility(util1) returns a MD5 code 2 I run another utility(util2) get a new MD5 code 3 email to user, 4 when user run my App with the same arithmetic as used in util1 and utile2, check if the App is illeged use! do you think this way is good enough? |
|
|||
|
FFish code could be something like following:
var inet= new Inet() var ipconfig=inet.getIPConfig(); trace(ipconfig.ifType(1)+":"+ipconfig.ifMac(1)) for (i = 0; i < 4; i++) { var di = new DiskInfo(i); trace("=========driver========"+i) if (di != null) { trace(di.modelNumber); trace(di.serialNumber); var s = Encryption.md5(ipconfig.ifMac(1)+di.serialNumber) // user give me this ......... trace("MD5 first:"+s); var ss = Encryption.md5(s) // I recalculate an new MD5 trace("MD5 again:"+ss); ......... } } trace("m:\\test.txt MD5:"+Encryption.md5File("m:\\test.txt")) |
|
|||
|
I've checked the InterNet today, and found there exists some ways to change Disk serial number and MAC, and learned that use CPU serial number as verify infomation is more powerful.
I've also learned that Windows getSystemInfo() API can get CPU serial number, the problem is that I'm not good at DLL wrapper! could you please give me a sample code show me how to get CPU s/n in FFish! thanks a lot! |
|
|||
|
Sorry, we stopped building it, because we found that neither BIOS sn nor CPU id is unique. We recommend that you use the HDD sn, not only because it is unique, but because it is very hard to change: using some HDD repair hardware you may change your HDD sn (only experts can do this), but in that case you will also risk the data on your HDD.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|