Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2512  / 3 Years ago, sat, june 12, 2021, 2:51:07

At the current I am using ethernet mac address to generate license for my program, but sometimes there is more than one ethernet card (wireless, modem, etc.). So I would like to use something else: maybe there is an motherboard identificator or something else?!



I need to get this id using Python...


More From » python

 Answers
2

Other serial numbers (through dmidecode) seem rather inconsistent to me. On my media centre they pour out but on my desktop I can't see anything.



I would have said if you wanted to do this, you just use eth0. Almost every computer has at least one ethernet port and that will always render a MAC address. There are some problems though:




  • MAC addresses can be changed. Easily.

  • MAC addresses duplicate. Considering half the address is vendor/model ID, lots of vendors only get a few million unique keys and clearly make many millions more devices - so there are duplicates in the wild.

  • Some devices don't have ethernet port, it's disabled, or it's only occasionally on. This is a problem if you try to dynamically change which port you're IDing from. If you start on wlan0 because it's the only one available at the time and then eth0 comes on line the next time you check, you might annoy the customer.



You might do best to take an amalgum of hardware information (motherboard name, processor ID, number of CPUs, graphics name, amount/configuration of RAM etc).



Just make sure you're not stupid about how paying customers go through the re-authentication process. As soon as you make this process harder to work through than just pirating it, you've lost the game. Oh and don't forget you'll need to advertise the fact you're collecting and storing this identifiable up-front, ideally before purchase.


[#40736] Sunday, June 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndeecru

Total Points: 109
Total Questions: 128
Total Answers: 117

Location: Czech Republic
Member since Thu, Aug 11, 2022
2 Years ago
ndeecru questions
Mon, Jun 20, 22, 04:53, 2 Years ago
Thu, Mar 10, 22, 18:53, 2 Years ago
Thu, Oct 14, 21, 20:53, 3 Years ago
Thu, Apr 28, 22, 10:16, 2 Years ago
;