java中的代码以提供计算机IP,操作系统和LAN网络上所有计算机的名称 [英] code in java to give computer IP, OS and name of all the computers on the LAN network

查看:52
本文介绍了java中的代码以提供计算机IP,操作系统和LAN网络上所有计算机的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要一个代码,该代码将返回LAN上连接的所有计算机的IP地址,名称和OS.

need a code that will return the computers IP address, name and OS of all the computers connected on the LAN. if one can make it as a multiagent, i would also be very greatful.

推荐答案

首先阅读以下材料:JNDI教程
[ ^ ]-您将了解如何访问Active Directory等.

然后,您有 http://henryranch.net/software/jwmi-query-windows-wmi- from-java/ [ ^ ]和 http://www.snmp4j.org/ [
Start by reading this material: The JNDI Tutorial
[^] - you''ll lear how to access Active Directory, among other things.

Then you have http://henryranch.net/software/jwmi-query-windows-wmi-from-java/[^] and http://www.snmp4j.org/[^]

If you want what I think you mean by a multi agent - you need to know this stuff (and probably much more)

Best regards
Espen Harlinn


这篇关于java中的代码以提供计算机IP,操作系统和LAN网络上所有计算机的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆