to use wmi in your c# files you have to use the System.Management namespace
and query voor the iis wmi-classes:
ManagementObjectSearcher Searcher = new ManagementObjectSearcher();
ManagementScope Scope = new ManagementScope("root\\iis name have to look
for it");
Searcher.Scope = Scope;
SelectQuery Query = new SelectQuery();
StringBuilder queryString = new StringBuilder();
queryString.Append("SELECT * FROM bla bla");
etc
etc
etc
to find all the parameters and methods you can use cim-studio
greets clemens
> Hi,
>
[quoted text clipped - 8 lines]
>
> Navin
Navin Mishra - 02 Aug 2005 01:49 GMT
Thanks. A concrete example is appreciated for the newbie like me!
> to use wmi in your c# files you have to use the System.Management namespace
> and query voor the iis wmi-classes:
[quoted text clipped - 28 lines]
> >
> > Navin
Navin Mishra - 06 Aug 2005 01:09 GMT
Could it be happening because of multiple asmx files in my web service ? In
a test web service in which there is a single ASMX file, Application_End is
being fired all right. But not when there are multiple asmx files ?
Thanks in advance and regards
> Thanks. A concrete example is appreciated for the newbie like me!
>
[quoted text clipped - 33 lines]
> > >
> > > Navin