C#中:获取有关计算机领域的信息 [英] C#: get information about computer in domain
本文介绍了C#中:获取有关计算机领域的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为了得到关于某电脑在我的网络信息在C#中,我应该使用什么样的课? (喜欢谁登录该计算机,什么操作系统的计算机上运行,打开哪些端口等)
What classes should I use in C# in order to get information about a certain computer in my network? (Like who is logged on that computer, what Operating System is running on that computer, what ports are opened etc)
推荐答案
WMI库,这里是一个<一个href="http://www.siccolo.com/Articles/$c$cProject/Build%5FLocal%5FNetwork%5FBrowser/Build%5FLocal%5FNetwork%5FBrowser.html"相对=nofollow> VB.net例子的。它不应该是很难将其转换为C#
WMI Library and here is a VB.net example. It shouldn't be difficult to convert it to C#
这篇关于C#中:获取有关计算机领域的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文