<PackageReference Include="System.Security.Permissions" Version="9.0.5" />

PermissionRequestEvidence

public sealed class PermissionRequestEvidence : EvidenceBase
Defines evidence that represents permission requests. This class cannot be inherited.

Gets the permissions the code explicitly asks not to be granted.

Gets the permissions the code can use if they are granted, but are not required.

Gets the minimum permissions the code requires to run.

Initializes a new instance of the PermissionRequestEvidence class with the permission request of a code assembly.

Creates an equivalent copy of the current PermissionRequestEvidence.