robinbloke: (Default)
[personal profile] robinbloke
Anyone know an API (preferably Win32, yes, sorry, I know) or way I can get the Processor Serial Number, I need a reliable unique number to use with the hard drive serial number for a license key system I'm writing.

Date: 2007-06-25 10:31 am (UTC)
From: [identity profile] robinbloke.livejournal.com
Yeah; I know the MAC address can be spoofed, but without a lot of time and hassle (which sadly I have little of the former) it's not going to be secure, need some numbers. Hopefully the HDD will be enough, the BIOS and CPU would have been perfect but getting them seems pretty difficult and very unreliable.

The class I'm building however I'm going to give some generic seeding functions so that if I find some other useful values I can use them instead.

Date: 2007-06-25 11:26 am (UTC)
From: [identity profile] sesquipedality.livejournal.com
I was going to say, don't write licensing yourself, buy it. Anything you have time to write will be easy to trivial to circumvent. However, I bet your company doesn't want to spend money either, does it?

Date: 2007-06-25 12:19 pm (UTC)
From: [identity profile] robinbloke.livejournal.com
Indeed so; as far as it's concerned we are coders therefore we provide all the code. Took me long enough to convince them to buy in support for the barcode system I wanted to save us from compatibility hell.

That said it's not really going to see serious attack (as far as I can predict) and anyone who was serious enough to want to circumvent a serial number/security system would be able to break the code wide open and disable that section anyway.

Profile

robinbloke: (Default)
robinbloke

January 2016

S M T W T F S
     12
3456789
10111213141516
17181920212223
24 252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 22nd, 2026 05:24 am
Powered by Dreamwidth Studios