Solved

MAC Addresses

Posted on 2002-07-04
4
217 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

808 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