<PackageReference Include="System.Diagnostics.EventLog" Version="11.0.0-preview.3.26207.106" />

System.Diagnostics.Eventing.Reader.EventLogReader

public class EventLogReader : IDisposable
Enables you to read events from an event log based on an event query. The events that are read by this object are returned as EventRecord objects.
/* System.NullReferenceException: Object reference not set to an instance of an object. at ICSharpCode.Decompiler.CSharp.Transforms.IntroduceExtensionMethods.VisitNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration) at ICSharpCode.Decompiler.CSharp.Syntax.DepthFirstAstVisitor.VisitChildren(AstNode node) at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.RunTransforms(AstNode rootNode, DecompileRun decompileRun, ITypeResolveContext decompilationContext) at ICSharpCode.Decompiler.CSharp.CSharpDecompiler.DecompileType(FullTypeName fullTypeName) at Relativity.APIReference.TypeDocumentation.b__30_0() in C:\Dev\relativity.apireference\Data\TypeDocumentation.cs:line 270 */