{"version":"1.0","type":"rich","title":"capturing EWT events","description":"This example demonstrates how to capture Event Tracing for Windows (ETW) events in real time using a trace session. It creates a `TraceEventSession` and an `ETWTraceEventSource`, then attaches a `DynamicTraceEventParser` whose `All` handler prints every received event to the console. The code enables a specific provider by GUID before processing the session. It relies on the Microsoft.Diagnostics.Tracing.TraceEvent NuGet package to parse events dynamically, showing the basic plumbing for consuming ETW data without a pre-defined event schema.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-a0e35951e2e18d1d9b10?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}