Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventLogEntry::MachineName Property

 

Gets the name of the computer on which this entry was generated.

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

public:
property String^ MachineName {
	String^ get();
}

Property Value

Type: System::String^

The name of the computer that contains the event log.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft