ResourcePermissionBaseEntry.PermissionAccessPath Property

 

Gets an array of strings that identify the resource you are protecting.

Namespace:   System.Security.Permissions
Assembly:  System (in System.dll)

public string[] PermissionAccessPath { get; }

Property Value

Type: System.String[]

An array of strings that identify the resource you are protecting.

PerformanceCounterPermissionEntry has two properties, CategoryName and MachineName. The PermissionAccessPath for PerformanceCounterPermissionEntry returns MachineName + "\\" + CategoryName. For example, "myMachine\\myCategory".

.NET Framework
Available since 1.1
Return to top
Show: