Esteban Angee
Esteban Angee

Reputation: 548

how to find if a network interface is mobile with java

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

Answers (1)

palako
palako

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

Related Questions