Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.MachineName Property

This property is used to return the name of the computer to use when accessing the event logs. Currently, this is the current computer, denoted by a dot "."

[Visual�Basic]
Public�Property�MachineName�As�String
[C#]
public�string�MachineName�{get;�set;}

Property Value

The string name of the machine holding the event log that will be logged into.

Remarks

This property cannot be changed. It is currently set to '.' i.e. the local machine. This may be changed in future.

See Also

EventLogAppender Class | log4net.Appender Namespace