Solved

MAC Addresses

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

937 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