Hi
The management class is a managed wrap for WMI. It use the WMI interface to
do the query similar as query a database.
So it will not conflict with the API.
In the foreach loop, if you step through, debugger will try to retrieve
many information, about all the visiable var in the current context which
may take a long time.
Also I think the debugger may try to load the symbol may take a few time.
I think the API approach is also an alternative.
If you still have any concern, please feel free to post here.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.