<PackageReference Include="System.Security.Permissions" Version="11.0.0-preview.2.26159.112" />

System.Security.PolicyLevelType

public enum PolicyLevelType
Specifies the type of a managed code policy level.

Security policy for all managed code in an application.

Security policy for all managed code in an enterprise.

Machine = 1

Security policy for all managed code that is run on the computer.

User = 0

Security policy for all managed code that is run by the user.