[IronPython] WMI in .NET?
Simon Dahlbacka
simon.dahlbacka at gmail.com
Mon Jun 18 22:20:51 CEST 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://mail.python.org/pipermail/ironpython-users/attachments/20070618/676a30d0/attachment.html>
More information about the Ironpython-users
mailing list