<PackageReference Include="System.Security.Permissions" Version="10.0.0-rc.2.25502.107" />

SiteIdentityPermission

Defines the identity permission for the Web site from which the code originates. This class cannot be inherited.
public string Site { get; set; }

Gets or sets the current site.

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

public SiteIdentityPermission(string site)

Initializes a new instance of the SiteIdentityPermission class to represent the specified site identity.