开发者

Get devices from "Network" [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on o开发者_StackOverflow社区ne problem only by editing this post.

Closed 7 years ago.

Improve this question

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:

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.


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


see Retreiving a list of network computer names, i guess it is what you are looking for

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜