Export (0) Print
Expand All

EventLogPermissionEntry.MachineName Property

Gets the name of the computer on which to read or write events.

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

public string MachineName { get; }
/** @property */
public String get_MachineName ()

public function get MachineName () : String

Property Value

The name of the computer on which to read or write events.

If the application is running in a High trust zone, request for permission to the local machine must refer to the machine name as COMPUTERNAME or ".", instead of the full machine name. Full machine name is not accepted for security reasons. In addition, the COMPUTERNAME must be treated as case-sensitive.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft