A Java program that retrieves and displays information about the network devices on a system.
This program uses the NetworkInterface and InetAddress classes to retrieve information about the network devices on a system. It displays the IP address, MAC address, and operating system for each device.
- Java 8 or later
- A system with network devices (e.g. Ethernet, Wi-Fi)
- Compile the program using
javac NetworkDevices.java - Run the program using
java NetworkDevices - The program will display the information about the network devices on the system.
- Retrieves IP address, MAC address, and operating system for each network device
- Displays information in a readable format
- Handles cases where MAC address is not available
- None
Contributions are welcome! If you have any suggestions or bug fixes, please submit a pull request.
This program is licensed under the MIT License. See LICENSE.txt for details.