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

TrustManagerUIContext

public enum TrustManagerUIContext
Specifies the type of user interface (UI) the trust manager should use for trust decisions.
namespace System.Security.Policy { public enum TrustManagerUIContext { Install = 0, Run = 2, Upgrade = 1 } }