列出工作组中的计算机名称 [英] List computer names at workgroup

查看:68
本文介绍了列出工作组中的计算机名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



如何在网络中的所有计算机上ping ping并获取以下信息:

-Computer姓名

-IP地址

-MAC地址





我想用windows api在这个项目?



请帮帮我





问候

Hi All

How can I throw the ping at all the computers in a network and also get infomation as:
-Computer name
-IP address
-MAC address


I want use windows api at this project ?

Help me please


regards

推荐答案

在局域网中获取IP地址 [ ^ ]

是 - 因为没有API,所以需要Ping。可悲的是。



通过远程机器的IP获取Mac-Adress [ ^ ]

按IP地址获取主机名 [ ^ ]



希望它可以帮到你&欢呼,

Marco Bertschi
Get IP adresses in LAN[^]
Yes - Ping is needed since there is no API for this. Sadly.

Get the Mac-Adress by IP of remote machine[^]
Get Host name by IP address[^]

Hope it helps you & cheers,
Marco Bertschi


这篇关于列出工作组中的计算机名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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