Question Locked

getting MAC address of a machine using C++

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi,
if any body having the C++ code for getting the MAC address of a local machine.please send to me or if anybody having information regading getting Mac address please respond.

regards
suresh

2 replies

by wizard-09

The command you are looking for is ipconfig /all you will find the mac in the information it gives.

So goto run then type cmd, then hit enter, then when you get the box box type in ipconfig /all then hit enter information you require will be there.

If you want to do this on a remote machine you will need to download and install the ps tool set google it.

This discussion is closed to new replies.