I am looking to retrieve the Mac_Address of the user accessing my application. I have tried the following code:
import uuid
from uuid import getnode as get_mac
mac_address = get_mac()
mac_address = ':'.join(("%012X" % mac_address)[i:i+2] for i in range(0, 12, 2))
This works OK but returns the mac address of the server and not the client. Is there a way to retrieve the mac address of the client?