System.Diagnostics.EventLogEntry
Encapsulates a single record in the event log. This class cannot be inherited.
namespace System.Diagnostics
{
public sealed class EventLogEntry : Component, ISerializable
{
public string Category { get; }
public short CategoryNumber { get; }
public byte[] Data { get; }
public EventLogEntryType EntryType { get; }
public int EventID { get; }
public int Index { get; }
public long InstanceId { get; }
public string MachineName { get; }
public string Message { get; }
public string[] ReplacementStrings { get; }
public string Source { get; }
public DateTime TimeGenerated { get; }
public DateTime TimeWritten { get; }
public string UserName { get; }
public bool Equals(EventLogEntry otherEntry);
}
}