EventRecord.MachineName Property

 

Gets the name of the computer on which this event was logged.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public abstract string MachineName { get; }

Property Value

Type: System.String

Returns a string that contains the name of the computer on which this event was logged.

.NET Framework
Available since 3.5

EventRecord Class
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top
Show: