Reputation: 548
I need to find if the active network interface using Windows 7 is a USB modem or if it is a typical Ethernet interface.
Is there any way to do this using Java?
Upvotes: 0
Views: 152
Reputation: 3470
You can list the network interfaces and maybe use isPointToPoint or perhaps something else in the NetworkInterface class to detect the modem connection.
Upvotes: 1