<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.0-preview.2.24128.5" />

EventBookmark

public sealed class EventBookmark
Represents a placeholder (bookmark) within an event stream. You can use the placeholder to mark a position and return to this position in a stream of events. An instance of this object can be obtained from an EventRecord object, in which case it corresponds to the position of that event record.
public string BookmarkXml { get; }

Gets the XML string that represents the bookmark.

public EventBookmark(string bookmarkXml)

Creates a bookmark that identifies an event in a channel.