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

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.