<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.1.25080.5" />

ResourcePermissionBaseEntry

Defines the smallest unit of a code access security permission set.
public int PermissionAccess { get; }

Gets an integer representation of the access level enumeration value.

public string[] PermissionAccessPath { get; }

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

Initializes a new instance of the ResourcePermissionBaseEntry class.

public ResourcePermissionBaseEntry(int permissionAccess, string[] permissionAccessPath)

Initializes a new instance of the ResourcePermissionBaseEntry class with the specified permission access and permission access path.