O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

EventLogPermission

Synopsis

This class is a System.Security.Permissions.ResourcePermissionBase object, which indicates whether the executing code has permission to access the Windows event logs.

public sealed class EventLogPermission : System.Security.Permissions.ResourcePermissionBase {
// Public Constructors
   public method EventLogPermission();  
   public method EventLogPermission(
        EventLogPermissionAccess permissionAccess, 
        string machineName);  
   public method EventLogPermission(
        EventLogPermissionEntry[] permissionAccessEntries);  
   public method EventLogPermission(
        System.Security.Permissions.PermissionState state);  
// Public Instance Properties
   public field EventLogPermissionEntryCollection PermissionEntries{get; } 
}

Hierarchy

System.ObjectSystem.Security.CodeAccessPermission(System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.IStackWalk)System.Security.Permissions.ResourcePermissionBase(System.Security.Permissions.IUnrestrictedPermission)EventLogPermission

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required