Find network adapter name for ethernet connection

This question already has an answer here:

  • How can I determine the IP of my router/gateway in Java? 15 answers

  • Take a look at this tutorial: Listing Network Interface Addresses And use getDisplayName() instand of getName(). See Heer to get the Gateway: How can I determine the IP of my router/gateway in Java?

    链接地址: http://www.djcxy.com/p/65794.html

    上一篇: Java的IP地址代理

    下一篇: 查找以太网连接的网络适配器名称