Mono的.NET框架和WMI [英] The Mono .NET framework and WMI

查看:232
本文介绍了Mono的.NET框架和WMI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个使用WMI一个.NET项目,并有意将它移植到Mono的框架。

We have a .NET project that uses WMI and are interested in porting it to the Mono framework.

看样子单不支持WMI。

It appears Mono does not support WMI.

是否有可以添加WMI支持任何库?

Are there any libraries that can add WMI support?

基本上,我们希望访问使用WMI从Linux / OS X中的Windows服务器。

Basically we would want to access a Windows server using WMI from a Linux/OS X box.

推荐答案

Windows管理规范是Microsoft实现的WBEM(的基于Web的企业管理)。

Windows Management Instrumentation is a Microsoft implementation of WBEM (Web-Based Enterprise Management).

有开源实现(如的OpenPegasus ),您也许能够使用客户端,但没有告诉什么MS确实有他们的版本。如果你可以发送CIM查询到服务器,那么你可能会得到很好的效果。

There are open-source implementations (eg openPegasus) that you might be able to use a client, but there's no telling what MS did with their version. If you can send CIM queries to the server, then you may get good results.

请注意,Windows不这样做的WMI通过HTTP,只有DCOM / DCE-RPC,所以有些客户将只是不工作。快速谷歌..和OpenPegasus程序将允许您使用的WMI Mapper 来访问Windows。如果没有,你总是可以在Windows上运行的服务器组件。

Note that Windows doesn't do WMI over http, only DCOM/DCE-RPC, so some clients will just not work. A quick google.. and OpenPegasus will allow you to access Windows using a WMI Mapper. If not, you could always run the server component on Windows.

这篇关于Mono的.NET框架和WMI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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