Re: Advice wanted!
- Posted by petelomax Mar 13, 2010
- 1569 views
jimcbrown said...
hacker said...
Thanks for the input. An alternative and more generic solution might be to get the mac address of the network card. I'm not sure how to do this though, I suspect you need to use some low-level functions.
Or you could be lazy and pull the information from the output of ipconfig.exe
How would that help?
With some snipping:
C:\Program Files\Edita>ipconfig Windows IP Configuration IP Address. . . . . . . . . . . . : 10.203.13.58disconnect:
C:\Program Files\Edita>ipconfig Windows IP Configurationreconnect:
C:\Program Files\Edita>ipconfig Windows IP Configuration IP Address. . . . . . . . . . . . : 10.203.200.85Confused? I am.