[Mono-dev] System.Management.ObjectQuery class

Atsushi Eno atsushi at ximian.com
Tue Jan 20 06:46:22 EST 2009


We *have* those assemblies that *throws* NotImplementedException all
around, as the exception message you got exactly shows.

Again, MoMA is with you, he (or she, I dunno) is your good friend.

Atsushi Eno

Atoka wrote:
> But I installed Mono 2.0 for linux and in /usr/lib/mono/2.0/ and
> /usr/lib/mono/gac/ folders it has System.Management.dll lib. Also in my c#
> code i am able to use some of the System.Management lib's class like
> System.Management.ManagementScope, System.Management.ManagementObject etc.
> The problem i am facing is in System.Management.ObjectQuery class. 
> 
> Does it support only some classes of System.Management? Where do i get the
> list of Mono supported System.Management's classes?
> 
> 
> 
> 
> Atsushi Eno wrote:
>>> Yes. those libraries based on Windows-ism, such as System.Management,
>>> are not supported in Mono.
>>> In case you are unsure about mono limitation, MoMA is your friend.
>>> http://mono-project.com/MoMA
>>> Atsushi Eno
>> Atoka wrote:
>>> Hi all,
>>>        I have a Server machine which is a windows machine and a client
>>> machine which is OpenSuse. 
>>> I am using System.Management.ObjectQuery class in C# code to make a
>>> management query to server machine from the client machine. But i am
>>> getting
>>> System.NotImplementedException.  
>>>       Also when i use System.Management.ConnectionOptions.set_Username
>>> and
>>> set_PassWord, it gives the same error.
>>> What is the problem, can someone help me? Am i missing out some library
>>> or
>>> these classes are not supported by mono.
>> _______________________________________________
>> 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