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

GacInstalled

Confirms that a code assembly originates in the global assembly cache (GAC) as evidence for policy evaluation. This class cannot be inherited.
public GacInstalled()

Initializes a new instance of the GacInstalled class.

public object Copy()

Creates an equivalent copy of the current object.

Creates a new identity permission that corresponds to the current object.