[IronPython] WMI in .NET?
Simon Dahlbacka
simon.dahlbacka at gmail.com
Mon Jun 18 13:20:51 PDT 2007
> 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.
regards,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20070618/676a30d0/attachment.htm
More information about the users
mailing list