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

PerformanceCounterPermission

Synopsis

This class is a System.Security.CodeAccessPermission object that specifies code access to PerformanceCounter instances. The PermissionEntries property returns a collection of PerformanceCounterPermissionEntry objects representing the specific permissions granted.

public sealed class PerformanceCounterPermission : 
                                              System.Security.Permissions.ResourcePermissionBase {
// Public Constructors
   public method PerformanceCounterPermission();  
   public method PerformanceCounterPermission(
        PerformanceCounterPermissionAccess permissionAccess, 
        string machineName, string categoryName);  
   public method PerformanceCounterPermission(
        PerformanceCounterPermissionEntry[] permissionAccessEntries);  
   public method PerformanceCounterPermission(
        System.Security.Permissions.PermissionState state);  
// Public Instance Properties

           public field PerformanceCounterPermissionEntryCollection PermissionEntries{get; } 
}

Hierarchy

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

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