exe, c++,c,mac address, file creation

Hello,

I want to make two a executable in c++ ,first one when run it will make a file and copy the MAC address of that machine into that file.(one time activity).

secondly the other executable will run and validate the mac address written.

I am novice in this .Please provide the help as soon as possible.

thank u in advance
Last edited on
A computer connected to a modern network will have multiple MAC addressees. For example, if your laptop has an ethernet socket and WiFi, you'll have MAC addresses for each of those. Plus there'll be one for each VPN. So first you need to decide which MAC address you want to use.

Then there's the question, "Why do this in C++?" when a shell script is sufficient?
Topic archived. No new replies allowed.