Software Protection / Motherboard Serial number
Posted: 04 Nov 2016, 15:15
I've got some software that I'm hopeful I will get people willing to pay for. As with most things, trying to make them "100% safe" is not realistic. (locks on homes keep out the 98% of people that will try the handle and then move on).
I'm taking this approach for my software license in that I want to have a very basic, easy to implement, license that will stop most of the honest people.
For this reason I decided to get a "hardware footprint" to tie to a given customer's email address. I reviewed this thread on WMI tasks https://autohotkey.com/boards/viewtopic.php?t=1976 and created the below code which should grab a given computer's motherboard Serial number. I've tried it on 6 computers so far and it reliably pulled back a value. I'd LOVE to have a better idea of the ratio it will pull back a value instead of returning a Null.
If you're willing, please run the below code and let me know if it displayed an id or a null (I don't need to see the value)
Thank you!
I'm taking this approach for my software license in that I want to have a very basic, easy to implement, license that will stop most of the honest people.
For this reason I decided to get a "hardware footprint" to tie to a given customer's email address. I reviewed this thread on WMI tasks https://autohotkey.com/boards/viewtopic.php?t=1976 and created the below code which should grab a given computer's motherboard Serial number. I've tried it on 6 computers so far and it reliably pulled back a value. I'd LOVE to have a better idea of the ratio it will pull back a value instead of returning a Null.
If you're willing, please run the below code and let me know if it displayed an id or a null (I don't need to see the value)
Thank you!
Code: Select all
While (ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\" . A_ComputerName . "\root\cimv2").ExecQuery("Select * From Win32_BaseBoard")._NewEnum)[objMBInfo]
MsgBox % objMBInfo["SerialNumber"]