Adds a System.Security.Policy.StrongNameMembershipCondition corresponding to the specified System.Security.Policy.StrongName to the list of System.Security.Policy.StrongNameMembershipCondition objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
- sn
- The System.Security.Policy.StrongName used to create the System.Security.Policy.StrongNameMembershipCondition to add to the list of System.Security.Policy.StrongNameMembershipCondition objects used to determine whether an assembly is a member of the group of assemblies that should not be evaluated.
The PolicyLevel.AddFullTrustAssembly(StrongName) method is not supported in version 2.0 or later of the .NET Framework because the list of full trust assemblies is not used in those versions.