It comes from the network card. I believe you cannot change a MAC address as it needs a unique identifier to connect to a network.
This bit:
Loops through all of the network cards and checks the mac address of each one. So if the mac address you are looking for (the arguement for the function) exists, the function returns the mac address, otherwise it returns "".
I agree to an extent, although I think that a degree of protection can put a lot of people off, hence why I use these sorts of codes in my templates for say, distributing round the office. It stops people in other departments getting access etc.
For protecting a commercial software from being "cracked" though, they are useless.
Note: you can go to command prompt and type ipconfig/all to get all the mac addresses that exist on a system, you will notice there are a few that are 00:00:00:00:00
Bookmarks