Kagami

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月24日

摘要: public String getLocalIpAddress() { String ipaddress=""; try { for (Enumeration<NetworkInterface> en = NetworkInterface .getNetworkInterfaces(); en.hasMoreElements();) { NetworkInterface intf = en.nextElement(); for (Enum... 阅读全文
posted @ 2013-04-24 15:40 Kagami 阅读(521) 评论(1) 推荐(0) 编辑