System.Diagnostics.EventLogEntry.Data Property

Gets the binary data associated with the entry.

Syntax

[System.Diagnostics.MonitoringDescription("Binary data associated with this event entry.")]
public byte[] Data { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Getting this property creates an array that holds a copy of the entry's event-specific binary data, which the Event Viewer displays in combined hexadecimal and text format. Event-specific data is sometimes used to store information that the application will process independently of the Event Viewer, for example, to make reports from the log file.

Requirements

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