I am trying to write a simple licensing scheme for a small piece of engineering software on windows. I am not very knowledgeable on this topic but a simple moderately secure approach is good enough for now.
My idea is to lock software copies to the physical address of user’s machines using unique license files.
I read somewhere that the hardware NIC address and the reported mac address can be different as the mac address can be “spoofed”. Is there a robust way to look up the hardware NIC address (avoiding the “spoofed” address) using windows cmd command line?
Thanks!
These are some of my attempts to get an unalterable physical hardware address for a computer using windows cmd command line:
Physical address
getmac /v
arp -a
ipconfig /all | find “Physical Address”
Other
vol
wmic baseboard get product,manufacturer,version,serialnumber
wmic diskdrive get model,serialNumber,size,mediaType
What command(s) are recommended to produce the most secure hostID (could be a combination of things)?
oceanEngineer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.