[IronPython] WMI in .NET?
luke.hoersten at gmail.com
Mon Jun 18 13:24:43 PDT 2007
Excellent, thanks! I figured pywin wouldn't work for the reason you
mentioned but I tried including it anyway for lack of knowing about
strongly typed proxies. I don't know anything about that but this is a
whole new search term/new leaf overturned for me.
Thanks for your help!
On 6/18/07, Simon Dahlbacka <simon.dahlbacka at gmail.com> wrote:
> > I've tried using pywin32 with no luck (with complaints that the
> > win32api module in win32com does not exist).
> that would be expected as pywin et al consists of native code that
> IronPython doesn't support.
> > Is there a better .NET way to go about getting WMI information?
> yes, look at the System.Management namespace and/or use mgmtclassgen.exe to
> generate strongly typed (c#) proxies for the wmi classes you need.
> (Mgmtclassgen.exe resides in the .NET SDK)
> Google knows the fine details.
> users mailing list
> users at lists.ironpython.com
More information about the users