Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Getting the real HD serial

For general discussion related FlowStone

Getting the real HD serial

Postby CoreStylerz » Tue Jun 25, 2013 10:46 pm

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! ;)
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
User avatar
CoreStylerz
 
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy

Re: Getting the real HD serial

Postby digitalwhitebyte » Tue Jun 25, 2013 11:43 pm

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.
User avatar
digitalwhitebyte
 
Posts: 106
Joined: Sat Jul 31, 2010 10:20 am

Re: Getting the real HD serial

Postby CoreStylerz » Wed Jun 26, 2013 12:32 am

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?
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
User avatar
CoreStylerz
 
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy

Re: Getting the real HD serial

Postby tester » Wed Jun 26, 2013 12:34 am

There are prims:

MAC address
Hard disk serial number
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Getting the real HD serial

Postby CoreStylerz » Wed Jun 26, 2013 10:19 am

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.
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
User avatar
CoreStylerz
 
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy

Re: Getting the real HD serial

Postby chackl » Wed Jun 26, 2013 10:39 pm

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 :P

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Getting the real HD serial

Postby Drnkhobo » Tue Jul 09, 2013 2:47 pm

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 :)
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: Getting the real HD serial

Postby CoreStylerz » Thu Jul 11, 2013 9:54 am

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. ;)
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
User avatar
CoreStylerz
 
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy


Return to General

Who is online

Users browsing this forum: No registered users and 78 guests