[IronPython] WMI in .NET?
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users