如何获得WLAN网络中其他设备的Mac Adress [英] How to get Mac Adress of another devices in WLAN Network

查看:91
本文介绍了如何获得WLAN网络中其他设备的Mac Adress的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在用Visual Studio开发一个应用程序,它列出网络中的每个设备,然后给出MAC地址。设备列在一个组合框中,用户可以选择他喜欢的那个,然后该设备的MAC地址应显示在另一个文本框中



我已经在组合框中完成了列表,但获取MAC地址部分太难了。有人可以帮我吗?



非常感谢

Hi everyone,

I'm developing an application with Visual Studio, which lists every device in a network, and then give the MAC address. The devices are listed in a combo box, which the user can select which one he( or she) likes, and then the MAC address of that device should be shown in another textbox

I'm already done with the list in a combo box, but the get MAC address part is too hard. Anyone can help me please?

Much appreciated

推荐答案

我google了c#get mac address of remote机器这是第一次打击



https://social.msdn.microsoft.com/Forums/en-US/9971c7f2-3145-4a76- a3b4-80b900eb8296 / how-to-get-remote-pcs-mac-addess?forum = netfxnetcom [ ^ ]



要抢占你的下一个问题,你需要多少来自你网络以外的机器的MAC地址并不重要,除非客户端发送地址,否则你无法得到它们对你自己。
I googled "c# get mac address of remote machine" and this was the first hit

https://social.msdn.microsoft.com/Forums/en-US/9971c7f2-3145-4a76-a3b4-80b900eb8296/how-to-get-remote-pcs-mac-addess?forum=netfxnetcom[^]

To preempt your next question, it doesn't matter how much you need\want MAC address from machines not on your network, you can't get them unless the client sends the address to you itself.


这样做的问题是你不会得到的MAC目标机器。您最终会在到目标的网络路径中获取离您的机器最近的路由器的近端接口的MAC地址。



您可能想要了解MAC地址是什么 [ ^ ]以及它在网络世界中的用途,然后尝试将其用于从未设计过的东西。实际上,网络之外的MAC地址是没有用的。
The problem with doing this is you won't get the MAC of the target machine. You'll end up getting the MAC address of the near-side interface of the router closest to your machine in the network path to the target.

You might want to read up on what a MAC address is[^] and what it's used for in the network world before trying to use it for something it was never designed for. Really, there is no use for a MAC address outside of networking.


感谢您的回答。这些设备在同一个Wlan-Network Smile |上:)



有没有办法可以获得MAc地址?
Thanks for the answers. The devices are on the same Wlan-Network Smile | :)

IS there any way i can get MAc address?


这篇关于如何获得WLAN网络中其他设备的Mac Adress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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