Re: getting hardware data
- Posted by DerekParnell (admin) May 23, 2012
- 1501 views
... I was thinking of maybe reading the serial number of the hard drive?
I'm surprised the std lib doesn't provide a function for this.
Really? Why is that, Chris?
Derek, was this directed toward me and my comment 'I'm surprised the standard lib...?'
Yes it was, CK.
Such a routine would be a wrapper around an API call and is thus relatively easy to create, upon the author doing a little research and testing. And I think that this routine in particular, would be nearly exclusively used in commercial software. So I'm not quite convinced that our unpaid work on this routine should be used to enhance another's bank balance. Instead, I'm pretty sure that commercial software should try to value-add with some of its own creativity and effort.
If such a routine would be of general value to the programming community, then that would be a different matter. For example, and I really don't know the answer to this, is this routine part of other languages' Standard Library?