如何创建C#的网络地图?地图、网络

2023-09-03 08:00:09 作者:限量版好菇凉

我想创建基于C#网络地图就像这个图片 我已经搜索在谷歌很多,但找不到任何图书馆或code样本。我只找到了做广播在网络或获得计算机的名字在我的领域。但我需要的是让我的网络与他们的名称,IP地址和操作系统上的所有计算机就像在图片。有没有图书馆这个在.net中?有很多的应用程序,可以做到这一点,其中有些是免费的,但没有一个是开源的。 谢谢你。

I am trying to create network map on c# like on this image I have searched in google a lot but can't find any library or code sample. I only found ways to do broadcasting on network or get computers names on my domain. But what I need is to get all computers on my network with their names, IP addresses and OSes like in picture. Is there any libraries to this in .Net? There are lots of apps which can do this, some of them are free but no one is open source. Thanks.

推荐答案

根据上述意见:

一个很好的方法是使用SNMP的这种东西......还有这个商业和免费的图书馆...因为你想要的是自由只是开源的人(检出许可证是否与许可证兼容您计划使用):

One good approach is to use SNMP for this kind of stuff... there are commercial and free libraries for this... since you want that to be free just the opensource ones (checkout whether the license is compatible with the license you are planning to use):

http://www.snmpsharpnet.com/ HTTP://sharpsnmplib.$c$cplex.com/ 和/或 HTTP://$c$c.google.com/p/sharpsnmplib/ http://sourceforge.net/projects/snmpsharpnet/ http://www.snmpsharpnet.com/ http://sharpsnmplib.codeplex.com/ and/or http://code.google.com/p/sharpsnmplib/ http://sourceforge.net/projects/snmpsharpnet/

根据注释:

文档和示例snmpsharpnet可以发现这里和的这里。

Docs and examples for snmpsharpnet can be found here and here.