Solved

MAC Addresses

Posted on 2002-07-04
4
213 Views
Last Modified: 2012-05-04
How can I get the MAC address of all the network cards on a PC, I can use JNI but how would I get a MAC Address without using "command line tools."

Thanks
0
Comment
Question by:Irax
  • 3
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 50 total points
ID: 7129885
Impossible in pure Java
0
 

Author Comment

by:Irax
ID: 7129909
Thanks, I new it was not possible in pure java, hence I said i can use JNI! I waill go ask this on a C/C++ messageboard, Thanks anyway!
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 7129926
Thank *you*! So did you want the Win API calls?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 7129945
If you did, I think you call NdisRequest(), as long as NetBios is installed:
http://www.osr.com/DDK/network/103ndisx_0u42.htm
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now