Page 1 of 1
Getting the real HD serial
Posted: Tue Jun 25, 2013 10:46 pm
by CoreStylerz
Hi all,
is possible to get some data from Hard Disk, the real serial number or something that never changes? (until you change the hardware).
I need that for software licensing because the hd serial privitive collects partition serial and changes when formatting.
Also running this thing with ruby? it's possible or it requires some external .dll calls?
Thanks!

Re: Getting the real HD serial
Posted: Tue Jun 25, 2013 11:43 pm
by digitalwhitebyte
you could easily via WMI and Win32API
but I do not recommend using this as a unique value, because not all the HD have a serial number.
Re: Getting the real HD serial
Posted: Wed Jun 26, 2013 12:32 am
by CoreStylerz
digitalwhitebyte wrote:you could easily via WMI and Win32API
but I do not recommend using this as a unique value, because not all the HD have a serial number.
Ciao DWB grz..
There's no other kind of data that i could collect from the machine, always available, to use that is a serial number?
Re: Getting the real HD serial
Posted: Wed Jun 26, 2013 12:34 am
by tester
There are prims:
MAC address
Hard disk serial number
Re: Getting the real HD serial
Posted: Wed Jun 26, 2013 10:19 am
by CoreStylerz
tester wrote:There are prims:
MAC address
Hard disk serial number
Thanks but primitives changes. Mac adreess change while reconnecting and hd serial when formatting the os.
Re: Getting the real HD serial
Posted: Wed Jun 26, 2013 10:39 pm
by chackl
CoreStylerz wrote:tester wrote:There are prims:
MAC address
Hard disk serial number
Thanks but primitives changes. Mac adreess change while reconnecting and hd serial when formatting the os.
The MAC adress of your networc-card (LAN) does not Change in normal case ^^ - but this is too problematic because there are virtual Adapters that emulate a faked adress.
The best way i would do is:
Activation with PHP-Post module - send a Serial number givn by a mail to the user to host and then Count the activations - you may do a PHP script for that. After 1 activation the program can not be activated anymore.
To controll the user you may require everytime Internet on start up. so you vst Posts to a php script the Serial and you get a log of all where the program was started. if a Programm gets started too often on different IPs - guess what

Regards
Re: Getting the real HD serial
Posted: Tue Jul 09, 2013 2:47 pm
by Drnkhobo
Hey Chackl, thanks for your tips!
It would be interesting to see some of the PHP scripts to do this! Would you mind posting a few examples? Im sure there are a lot of users who would benefit from them. Coming from a person who doesnt know PHP, it seems quite a challenge (maybe because of the fact I dont know PHP).
Anyway I hope there is something you can show us or maybe even a little more information.
Thanks

Re: Getting the real HD serial
Posted: Thu Jul 11, 2013 9:54 am
by CoreStylerz
I've already used php script for sending data / receveing data for software activation.
But i not use anymore the mac adress primitive because it change the value each time, try to save it and restart your machine.
This at least happened with SM, so i used Mac adress to make it working. It works cools, but when a person do a system format and reinstall windows it may change.
So it's just on that case that hd serial is not so great to use.
