I have used these methods to get a list of providers on my machine:
logman query providers : 1108 providers
TraceEventProviders.GetPublishedProviders() : 1104 providers
TraceEventProviders.GetRegisteredOrEnabledProviders() : ~2540 providers (fluctuates consistently around this number)
The documentation for GetRegisteredOrEnabledProviders() states:
This is a relatively small list (less than 1000), unlike GetPublishedProviders.
I am not getting a "small list". What is causing this inconsistency?
It's also worth noting that calling TraceEventProviders.GetProviderName() on each of these >2000 provider GUIDs only yields ~790 names that can be mapped.
I have used these methods to get a list of providers on my machine:
logman query providers: 1108 providersTraceEventProviders.GetPublishedProviders(): 1104 providersTraceEventProviders.GetRegisteredOrEnabledProviders(): ~2540 providers (fluctuates consistently around this number)The documentation for
GetRegisteredOrEnabledProviders()states:I am not getting a "small list". What is causing this inconsistency?
It's also worth noting that calling
TraceEventProviders.GetProviderName()on each of these >2000 provider GUIDs only yields ~790 names that can be mapped.