[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MAC Addresses

Posted on 2002-07-04
4
Medium Priority
?
231 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 100 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
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 covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month18 days, 1 hour left to enroll

830 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