EventLogEntry.TimeWritten Property

 

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

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public DateTime TimeWritten { get; }

Property Value

Type: System.DateTime

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

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 TimeGenerated property.

.NET Framework
Available since 1.1
Return to top
Show: