System.Diagnostics.EventLogEntry.Source Property

Gets the name of the application that generated this event.

Syntax

[System.Diagnostics.MonitoringDescription("The source application of this event entry.")]
public string Source { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The event source indicates what logged the event. It is often the name of the application or the name of a subcomponent of the application if the application is large. Applications and services usually write to (and therefore are sources for) the Application log or a custom log. Device drivers usually write to the System log.

Requirements

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