Obtaining a MAC address

Obtaining a MAC address

Post by charle » Fri, 28 May 2004 00:31:19

Can anyone tell me how to get the MAC address
of a PC running either NT , 2000 or XP.

Actually I want to ensure my app only being run
on the PC which I have designated.

I believe that the unique MAC address might
satisfy that requirement.

Any other suggestions would be very welcome.



Obtaining a MAC address

Post by Maur » Fri, 28 May 2004 04:01:24

Actually, most modern NIC cards allow you to manually reset the MAC address
if you wish, thus it would be fairly easy for users to cheat it. It all
depends on how robust you wish it to be.....if you want robust, then you
will need to extract system component information to create a profile
(Windows XP style).



Obtaining a MAC address

Post by Chico Ch » Fri, 28 May 2004 06:08:03


Try this link


From there there are several ways to obtain the MAC address.

Obtaining a MAC address

Post by Paul Hil » Fri, 28 May 2004 20:12:00

What if it doesn't have a MAC address? e.g. dial-up or USB cable modem


Obtaining a MAC address

Post by charle » Fri, 28 May 2004 22:15:14

What if it doesn't have a MAC address?=20
e.g. dial-up or USB cable modem user?

Good point....I could just use the Hard Drive serial number
and I saw a post a couple of days ago detailing how
to get it.

Any ideas on 'registering' the software to run
on a particular PC would be welcome.



Obtaining a MAC address

Post by the Wi » Sun, 20 Jun 2004 03:24:12

There are commercial products that can provide licensing security for your
application: http://www.yqcomputer.com/

Keying on one characteristic of the PC will lead to lots of support calls. A
better choice is to key on several PC characteristics and allow them to change
one-by-one. Make a record of HD serial, MAC address, memory size, video adapter
info, etc. Allow one or two items to be changed at a time (new HD, more
memory, new video card, etc) and record the new items.

If the software is distributed *only* by you, consider embedding a serial number
into each copy. Don't bother if it's downloadable from other than your own web

Think in terms of a multi-field key: HDINF-VIDEO-MACAD-XXXXX-YYYYY. The user
would install the program (perhaps with a 10-day demo period). The install
process would gather the PC info and generate a PC info message that is either
emailed to you or that is entered at your web site, along with the user's
information. The status message would be used to generate the key which would
be emailed to the user.

If you're selling the program for a high enough price to cover the cost of a
"dongle" (serial/parallel/USB key device), then you can get "one copy" security
and not have support problems when the user gets a bigger hard drive or a new
NIC or a new PC. The program only runs of the PC with the "dongle" attached -
any other installation would return a "Key not found" message.

There are a number of companies that sell "dongles" - about $15 - $60 each,
depending on type (serial.parallel/USB), features (simple key, timed license,
etc) and quantity.
Dongle vendors include:

More about me: http://www.yqcomputer.com/
VB3/VB6/C/PowerBasic source code: http://www.yqcomputer.com/
Freeware for the Palm with NS Basic source code: http://www.yqcomputer.com/
Drivers for Pablo graphics tablet and JamCam cameras: http://www.yqcomputer.com/ ~mwbt/
Email here: http://www.yqcomputer.com/