🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
8 messages
8 total messages Started by Sky Wed, 23 Apr 2003 06:17
How to identify a computer one and only
#16871
Author: Sky
Date: Wed, 23 Apr 2003 06:17
6 lines
1111 bytes
hi all, i want use a dongle to encrypt my program,
I want get a one and only identifier for computer,
then combine it with some fixed code to verify,
any hint? TIA.

Sky
Re: How to identify a computer one and only
#16879
Author: Remy Lebeau (TeamB)
Date: Wed, 23 Apr 2003 16:19
25 lines
2187 bytes
"Sky" <akeehuang@163.net> wrote in message
news:3ea6301a@newsgroups.borland.com...
> hi all, i want use a dongle to encrypt my program,
> I want get a one and only identifier for computer,
> then combine it with some fixed code to verify,
> any hint? TIA.

There aren't any one-to-one unique identifiers for a computer, sorry.  At
least, none that are reliable for what you ask.  This has been a
long-standing issue with hardware-based identification for encryption and
anti-piracy issues for years.  The simply problem is that existing IDs are
not generally constant values.  The most common identifiers used are
Ethernet card MAC addresses, CPU ID numbers, and HardDrive Serial Numbers.
The main problems with those, however, is that 1) ethernet MAC addresses and
HardDrive serial numbers are usually guaranteed to be unique only within a
particular manufacturer but not across the entire industry, and if the
ethernet card or harddrive is ever swapped out with a new one, you get new
values and you lose your original ID; and 2) CPU IDs are only supported on
newer CPUs within the last few years, and they can be (and usually are)
disabled by the user in the motherboard BIOS setup at system startup before
any software is ever run.


Gambit
Re: How to identify a computer one and only
#16785
Author: Harm-Jan Zwinderman
Date: Wed, 23 Apr 2003 19:01
35 lines
2671 bytes
Remy Lebeau (TeamB) <gambit47@yahoo.com> wrote
>
> "Sky" <akeehuang@163.net> wrote
> > hi all, i want use a dongle to encrypt my program,
> > I want get a one and only identifier for computer,
> > then combine it with some fixed code to verify,
> > any hint? TIA.
>
> There aren't any one-to-one unique identifiers for a computer, sorry.  At
> least, none that are reliable for what you ask.  This has been a
> long-standing issue with hardware-based identification for encryption and
> anti-piracy issues for years.  The simply problem is that existing IDs are
> not generally constant values.  The most common identifiers used are
> Ethernet card MAC addresses, CPU ID numbers, and HardDrive Serial Numbers.
> The main problems with those, however, is that 1) ethernet MAC addresses
and
> HardDrive serial numbers are usually guaranteed to be unique only within a
> particular manufacturer but not across the entire industry, and if the
> ethernet card or harddrive is ever swapped out with a new one, you get new
> values and you lose your original ID; and 2) CPU IDs are only supported on
> newer CPUs within the last few years, and they can be (and usually are)
> disabled by the user in the motherboard BIOS setup at system startup
before
> any software is ever run.
>
It seems he wants to use a dongle which you put in the printer port of the
PC.
The dongle contains the identifying key.
I can imagine that using CreateFile, ReadFile the information in the dongle
might get accessible?
Am also curious on how to do that?

At work we also use software protected with dongles. Only after putting the
dongle in the printer port the printing process is not going well anymore.
Re: How to identify a computer one and only
#16790
Author: Sky
Date: Thu, 24 Apr 2003 01:47
60 lines
3306 bytes
Yes, I have used a dongle putted in the parallel port,
but it need run only on one computer that has been licensed to,
so i want get the one-to-one unique identifiers for computer,
then combine it with some code in dongle.

BTW Remy, could you tell me how to get the Ethernet card
MAC addressed, CPU ID numbers and HardDrive Serial Numbers,
Thanks in advance!

Sky!

"Harm-Jan Zwinderman" <HaloHalo@HotPOP.com> д����Ϣ����
:3ea6e2cf@newsgroups.borland.com...
>
> Remy Lebeau (TeamB) <gambit47@yahoo.com> wrote
> >
> > "Sky" <akeehuang@163.net> wrote
> > > hi all, i want use a dongle to encrypt my program,
> > > I want get a one and only identifier for computer,
> > > then combine it with some fixed code to verify,
> > > any hint? TIA.
> >
> > There aren't any one-to-one unique identifiers for a computer, sorry.
At
> > least, none that are reliable for what you ask.  This has been a
> > long-standing issue with hardware-based identification for encryption
and
> > anti-piracy issues for years.  The simply problem is that existing IDs
are
> > not generally constant values.  The most common identifiers used are
> > Ethernet card MAC addresses, CPU ID numbers, and HardDrive Serial
Numbers.
> > The main problems with those, however, is that 1) ethernet MAC addresses
> and
> > HardDrive serial numbers are usually guaranteed to be unique only within
a
> > particular manufacturer but not across the entire industry, and if the
> > ethernet card or harddrive is ever swapped out with a new one, you get
new
> > values and you lose your original ID; and 2) CPU IDs are only supported
on
> > newer CPUs within the last few years, and they can be (and usually are)
> > disabled by the user in the motherboard BIOS setup at system startup
> before
> > any software is ever run.
> >
> It seems he wants to use a dongle which you put in the printer port of the
> PC.
> The dongle contains the identifying key.
> I can imagine that using CreateFile, ReadFile the information in the
dongle
> might get accessible?
> Am also curious on how to do that?
>
> At work we also use software protected with dongles. Only after putting
the
> dongle in the printer port the printing process is not going well anymore.
>
>
>
Re: How to identify a computer one and only
#16793
Author: Remy Lebeau (TeamB)
Date: Thu, 24 Apr 2003 03:42
15 lines
1537 bytes
"Sky" <akeehuang@163.net> wrote in message
news:3ea7422f$1@newsgroups.borland.com...

> BTW Remy, could you tell me how to get the Ethernet
> card MAC addressed, CPU ID numbers and HardDrive
> Serial Numbers,

All three of them require low-level assembly programming.  Are you sure
you're ready for that?  If so, then go to http://www.deja.com and do a
search through the archives for these newsgroups.  Sample code has been
posted many times before.


Gambit
Re: How to identify a computer one and only
#16795
Author: Martin Moeller
Date: Thu, 24 Apr 2003 10:57
10 lines
1607 bytes
> but it need run only on one computer that has been licensed to,
> so i want get the one-to-one unique identifiers for computer,

Before you look after how to do it, are you sure about the legal aspect of
your stricter licensing?
If it is not, you are liable for any losses arising from such license
restriction, such as work interruption due to computer failure.
Check & be carefull!

Rgds, Martin
Re: How to identify a computer one and only
#16814
Author: JD
Date: Fri, 25 Apr 2003 00:15
31 lines
2140 bytes
"Harm-Jan Zwinderman" <HaloHalo@HotPOP.com> wrote:
> [...] Only after putting the dongle in the printer port the
> printing process is not going well anymore.

We too once had a device that plugged into the printer port
with a pass-through for the printer (it was the Covox Speech
Thing - a speech synthisizer in the MSDOS environment) and we
also had printing problems.

In the end it was determined that the problem was degridation of
the signal due to the pass-through combined with long printer
cables. As the output to a parallel printer travels down the
cable, the signal degrades (which I presume is caused by
bleeding and loss of signal strength). Consequently, standard
parallel cables are manufactured to the presumed maximum length
for reliable operation.

The problem was solved by having a cabling company makes us
some short printer cables. Obviousely one can't expect users to
replace their printer cables so what's the solution when using
a dongle?

Well, I would imagine that the quality of construction would
impact the signal so choose a vendor well. The only other thing
that comes to mind is if there are serial dongles available (of
which I have no clue).

HTH

~ JD
Re: How to identify a computer one and only
#16816
Author: Bruce Salzman
Date: Fri, 25 Apr 2003 00:54
4 lines
1070 bytes
Aladdin makes a USB dongle that works well.

Regards,
Bruce
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads