[Mono-dev] system class

Robert Jordan robertj at gmx.net
Sun Oct 9 11:42:02 EDT 2005


Hi Matthijs,

> Well, i actually was meaning the System.Management namespace implementation,
> and the requirements of it.

As far I understood, there are still at least 2 (3) worlds to cope with:

- OpenWBEM
- MSFT's WMI
(- snmp)

Will wrote a client for MSFT's WMI COM/DCOM interface. That comes
very close to System.Management, but it can only be used with
a Windows CMI.

IMHO, the best way to implement System.Management is to wrap
OpenWBEM's API and hope that some OpenWBEM<->WMI bridge exists.

Rob


> 
> 
> 
> ----- Original Message -----
> From: "Will Weisser" <wweisser at cambia.com>
> To: <mono-devel-list at lists.ximian.com>
> Cc: "Robert Jordan" <robertj at gmx.net>
> Sent: Thursday, October 06, 2005 6:30 PM
> Subject: RE: [Mono-dev] system class
> 
> 
> Not a provider, a client.  The Microsoft WMI API's have a DCOM interface
> which you can invoke to execute WQL queries etc., but the actual data is
> sent in a DCOM "custom" object which is essentially a stream of bytes in
> an undocumented format.  So once you can connect via DCOM and parse the
> custom format, you can manage Windows machines remotely from Linux.
> 
> If I were setting up a provider for Linux/Unix/whatever then I guess
> OpenWBEM etc. would be an excellent option, or something like this:
> http://www.excsoftware.com/.
> 
> Looking back it's not actually clear to me whether Matthijs is trying to
> manage Windows from Linux, Linux from Windows, Linux from Linux or what
> ;P, so I apoligize if I muddled the issue.
> 
> -W.W.
> 
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Robert
> Jordan
> Sent: Thursday, October 06, 2005 11:25 AM
> To: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] system class
> 
> Hi Will,
> 
> 
>>As I understand it the main difficulty in dealing with Microsoft's WMI
>>implementation is that it runs over DCOM and not a standard protocol
>>such as HTTP.
>>
>>I wrote a C# DCOM stack and WMI implementation for my company, but
> 
> since
> 
>>they own it and not me I can't release it into the Mono class libs.
> 
> 
> Just out of curiosity: did you write "just" a WMI provider for some
> system? Or a full CMI manager?
> 
> Rob
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list