<PackageReference Include="System.Diagnostics.EventLog" Version="10.0.5" />

System.Diagnostics.EventSourceCreationData

Represents the configuration settings used to create an event log source on the local computer or a remote computer.
namespace System.Diagnostics { public class EventSourceCreationData { public int CategoryCount { get; set; } public string CategoryResourceFile { get; set; } public string LogName { get; set; } public string MachineName { get; set; } public string MessageResourceFile { get; set; } public string ParameterResourceFile { get; set; } public string Source { get; set; } public EventSourceCreationData(string source, string logName); } }