现在的位置: 首页 > 综合 > 正文

js 本机登录用户名

2013年08月26日 ⁄ 综合 ⁄ 共 170字 ⁄ 字号 评论关闭

import java.net.InetAddress;


System.out.println(
"host name="+InetAddress.getLocalHost().getHostName());

System.out.println("ip ="+InetAddress.getLocalHost().getHostAddress());

抱歉!评论已关闭.