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

StrongNameIdentityPermissionAttribute

Allows security actions for StrongNameIdentityPermission to be applied to code using declarative security. This class cannot be inherited.
public string Name { get; set; }

Gets or sets the name of the strong name identity.

public string PublicKey { get; set; }

Gets or sets the public key value of the strong name identity expressed as a hexadecimal string.

public string Version { get; set; }

Gets or sets the version of the strong name identity.

Initializes a new instance of the StrongNameIdentityPermissionAttribute class with the specified SecurityAction.