G
Guest
I am calling the method GetInstances() within the ManagementClass. I have 48
applications on my system. Mearly calling the routine takes 28 seconds for
it to return. I don't understand why this method would take so long to
execute. I've tried setting the EnumerationOptions.EnumerateDeep to false
but it doesn't seem to have any impact on the time. Can someone tell me how
to speed up the execution of this method?
applications on my system. Mearly calling the routine takes 28 seconds for
it to return. I don't understand why this method would take so long to
execute. I've tried setting the EnumerationOptions.EnumerateDeep to false
but it doesn't seem to have any impact on the time. Can someone tell me how
to speed up the execution of this method?