Serial number

T

tardas

i want to generate a number that is unique for a machine.
I decided to get hdd serial. But i have to find more than that.
which hardware numbers can i take? how?
 
L

Lew

tardas said:
i want to generate a number that is unique for a machine.
I decided to get hdd serial. But i have to find more than that.
which hardware numbers can i take? how?

Please do not multi-post (the placement of the same message independently in
multiple newsgroups). It fragments the thread and frustrates folks who are
trying to help you.

If you absolutely feel the overwhelming need to reach multiple groups, which
you shouldn't usually, then cross-post (place the same message into multiple
groups at once using multiple addresses on the same copy of the message so
that all replies are seen by all groups).

Usually it's better to pick the one group that fits. Read the groups' FAQs.
 
T

tardas

Please do not multi-post (the placement of the same message independently in
multiple newsgroups). It fragments the thread and frustrates folks who are
trying to help you.

If you absolutely feel the overwhelming need to reach multiple groups, which
you shouldn't usually, then cross-post (place the same message into multiple
groups at once using multiple addresses on the same copy of the message so
that all replies are seen by all groups).

Usually it's better to pick the one group that fits. Read the groups' FAQs.

thanx lew. i know how to use groups.
 
T

tardas

tardas wrote:

..
(re. multi-posting)


The evidence suggests otherwise.

i know i did a mistake but there is no need to be wordy. This is a
group that i can request for help. I have requested.
 
E

Eric Smith

tardas said:
i want to generate a number that is unique for a machine.
I decided to get hdd serial. But i have to find more than that.
which hardware numbers can i take? how?

You're not concerned about your software working across various
platforms? If you're sure it's only going to run on one platform
(e.g., Windows), there are lots of things you can use.

On most platforms you can get an Ethernet MAC address, but you may
need to write native methods to do it. However, some platforms
may have multiple MAC addresses, and some may have different MAC
addresses under different circumstances (when connected wired vs.
wireless).
 
L

Lew

steve said:
only if it is enabled in the bios.

Thus your "Write Once, Run Anywhere" code becomes non-portable even down to
the hardware level, much less the OS level.

AFAIK there is no inherent unique identifier for a computer, at least none
assigned by an outside authority with a promise of uniqueness. In the case of
the Intel CPUID, the public reacted negatively to the proposal and it either
died or went underground. Does the chip even still have it? Is it enabled or
disabled by default?

Looks like you'll have to create your own.
 
M

Martin Gregorie

Lew said:
Thus your "Write Once, Run Anywhere" code becomes non-portable even down
to the hardware level, much less the OS level.

AFAIK there is no inherent unique identifier for a computer, at least
none assigned by an outside authority with a promise of uniqueness. In
the case of the Intel CPUID, the public reacted negatively to the
proposal and it either died or went underground. Does the chip even
still have it? Is it enabled or disabled by default?

Looks like you'll have to create your own.
 
M

Martin Gregorie

Lew said:
AFAIK there is no inherent unique identifier for a computer, at least
none assigned by an outside authority with a promise of uniqueness.
>
I think the nearest you can come is the hardware address in an Ethernet
card - IIRC that's guaranteed to be unique, rather like the IMEI in a
mobile phone. However, cards can be swapped, a computer may have more
than one Ethernet interface or it may be using a modem and not have any
Ethernet cards installed at all.

Last but not least, there seems to be no way to access the card's
hardware address within standard classes so you'd need to use
non-portable native code to read it.
 
S

steve

I think the nearest you can come is the hardware address in an Ethernet
card - IIRC that's guaranteed to be unique, rather like the IMEI in a
mobile phone. However, cards can be swapped, a computer may have more
than one Ethernet interface or it may be using a modem and not have any
Ethernet cards installed at all.

Last but not least, there seems to be no way to access the card's
hardware address within standard classes so you'd need to use
non-portable native code to read it.

sorry even the Number in the E card are not unique, there was a **** up
several years ago, that resulted in several brands of card having the same
sequence of numbers.
That said , the number can be changed by a small c program, , hackers use
it frequently to hide the nic address/number


steve
 
M

Martin Gregorie

steve said:
sorry even the Number in the E card are not unique, there was a **** up
several years ago, that resulted in several brands of card having the same
sequence of numbers.
That said , the number can be changed by a small c program, , hackers use
it frequently to hide the nic address/number
The duplication had passed me by (and isn't surprising) but I'd always
thought the number, once assigned was permanent. I live and learn. Thanks.
 
S

steve

The duplication had passed me by (and isn't surprising) but I'd always
thought the number, once assigned was permanent. I live and learn. Thanks.

The card is made as part of a formal manufacturing process , where to ensure
manufacturing consistency , things have to be manufactured identically, once
they pass the "burn in testing", the card "specific " settings are written
to the EEprom. , it's the same with a lot of modern hardware.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

A Curiosity?? 2
Tasks 1
Need help with this script 4
Number Finder 3
Hi Ppl... Need help customizing a WiFi Driver (RTL8811AU + RTL8189ES) 1
Hi Folks 3
Hello there.. 3
PWM Issues 0

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top