J
Jon A. Cruz
Amey said:but i dont
understand if java provides a class NetworkInterface that gives the
name of the interface card then why did they not make provision for
mac address ???? if u can reach the card why not exploit it to get
full details possible....
Ummm....
How do you know that they're even on a card that has a MAC address???
You don't.
I know that when I was using a dial-up connection, my PC would get an IP
address, but definitely had no MAC address.
Since MAC address is not universal to all devices and platforms, it's
not in Java. Just like environment variable access was deprecated around
the time they first ported Java to the Macintosh.