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

ZoneIdentityPermission

Defines the identity permission for the zone from which the code originates. This class cannot be inherited.
public SecurityZone SecurityZone { get; set; }

Gets or sets the zone represented by the current ZoneIdentityPermission.

Initializes a new instance of the ZoneIdentityPermission class with the specified PermissionState.

Initializes a new instance of the ZoneIdentityPermission class to represent the specified zone identity.