Re: WMI from C#
- From: "Manfred Braun" <aa@xxxxx>
- Date: Sun, 22 May 2005 11:09:09 +0200
Hi Steve,
I am sorry, I am not expert on this. You can, for example, create and use
managed assembles, which expose their properties to WMI. In deed, they
cannot have methods. So it looks like providing properties works [as events
do] but not methods. I have currently nearly zero informations about this in
..Net2.
I am currently trying to use instrumentation, but I am new to this. My exe
runs fine, exposes the class to wmi, all fine. But if I run it as an user,
it fails :-( I'll open an question on this later in the group ;-)
Best regards,
Manfred
"Steve Townsend" <SteveTownsend@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EFBAD53D-38AA-44E7-B336-E9679BD875A8@xxxxxxxxxxxxxxxx
> Thanks Manfred, and understood. However, I have read elsewhere that new,
> custom method and property providers cannot be written using .Net 1.0/1.1.
I
> wondered if this is correct, and if so, whether 2.0 allows this to be
done.
> Or am I just misinformed?
>
> --
> Steve Townsend
> Lava Trading
>
>
> "Manfred Braun" wrote:
>
> > Hi,
> >
> > that's not a .Net issue, it's possibly a WMI issue. Many, many classes
and
> > properties and really read-only. If an object can be changed, this can
> > really done by the .Net framework. The best is to look into the WMI SDK
on
> > the list of classes to see, if the one can be changed.
> >
> > Best regards,
> > Manfred Braun
> >
> > (Private)
> > Mannheim
> > Germany
> >
> > mailto:_manfred.braun_@xxxxxxxxxxxx
> > (Remove the anti-spam-underscore to mail me!)
> >
> > "Steve Townsend" <SteveTownsend@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
> > news:BF0B444B-A484-4A2D-A1D3-5569740715FE@xxxxxxxxxxxxxxxx
> > > It's my understanding that System.Management in .Net v1.0 and v1.1
does
> > not
> > > support update or deletion of managed objects. Is this correct?
> > >
> > > What is the situation in .Net v2.0 Beta2?
> > >
> > > Thanks in advance.
> > >
> > > Steve Townsend
> > > Lava Trading
> >
> >
> >
.
- References:
- WMI from C#
- From: Steve Townsend
- Re: WMI from C#
- From: Manfred Braun
- Re: WMI from C#
- From: Steve Townsend
- WMI from C#
- Prev by Date: Re: WMI from C#
- Next by Date: Re: Fetching 2 NIC values only
- Previous by thread: Re: WMI from C#
- Next by thread: Re: WMI from C#
- Index(es):
Relevant Pages
|