获得从&QUOT设备,网络和QUOT; [英] Get devices from "Network"

查看:163
本文介绍了获得从&QUOT设备,网络和QUOT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找大约2小时,现在没有任何的运气,也许我正在寻找错误的东西......但是,这是我需要的:

I have been searching for about 2 hours now without any luck, maybe I am searching for the wrong things... But, Here's what I need:

当你走在Windows(Vista和7)的开始菜单计算机,然后单击网络上的左手边,你看到一对夫妇的设备。 我需要在.NET从设备的列表中的计算机(C#或VB,都没有关系。)。 具体而言,我需要thier的地址,如\\ HOME-PC等等。

When you go to "Computer" in the Start Menu of Windows (Vista and 7), and you then click on "Network" on the left hand side, you see a couple of devices. I need to get the computers from that list of devices in .NET (C# or VB, doesn't matter.). Specifically, I need thier ADDRESS, like \\HOME-PC and so forth.

我对如何做到这一点没有任何线索。我已经通过对象浏览器观看,在谷歌,但没有运气。

I have no clue on how to do this. I have looked through the object browser, and on Google, but no luck.

推荐答案

我觉得你想要做的是查询工作组的其他计算机,这样做,你可以使用code的mentioned这里

I think what you're trying to do is query the WorkGroup for other computers, to do so you could use the code mentioned here

这篇关于获得从&QUOT设备,网络和QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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