แก้ไข

แชร์ผ่าน


EventLogPermissionEntry.MachineName Property

Definition

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

public:
 property System::String ^ MachineName { System::String ^ get(); };
public string MachineName { get; }
member this.MachineName : string
Public ReadOnly Property MachineName As String

Property Value

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

Remarks

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.

Applies to