System.Diagnostics.EventLogEntry.TimeWritten Property

Gets the local time at which this event was written to the log.

Syntax

[System.Diagnostics.MonitoringDescription("The time at which this event entry was written to the logfile.")]
public DateTime TimeWritten { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This member holds the time that an event's information is written to the event log. This might not be the same time as when the event was generated. For the latter, read the EventLogEntry.TimeGenerated property.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0