Redigera

Dela via


PolicyLevel.FullTrustAssemblies Property

Definition

Caution

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

Caution

This API is now deprecated.

Gets a list of StrongNameMembershipCondition objects used to determine whether an assembly is a member of the group of assemblies used to evaluate security policy.

public:
 property System::Collections::IList ^ FullTrustAssemblies { System::Collections::IList ^ get(); };
[System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")]
public System.Collections.IList FullTrustAssemblies { get; }
public System.Collections.IList FullTrustAssemblies { get; }
[System.Obsolete]
public System.Collections.IList FullTrustAssemblies { get; }
[<System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")>]
member this.FullTrustAssemblies : System.Collections.IList
member this.FullTrustAssemblies : System.Collections.IList
[<System.Obsolete>]
member this.FullTrustAssemblies : System.Collections.IList
Public ReadOnly Property FullTrustAssemblies As IList

Property Value

A list of StrongNameMembershipCondition objects used to determine whether an assembly is a member of the group of assemblies used to evaluate security policy. These assemblies are granted full trust during security policy evaluation of assemblies not in the list.

Attributes

Remarks

FullTrustAssemblies are granted full trust during security policy evaluation of assemblies not in the list, but are not automatically granted full trust when directly evaluated by the security policy system.

The FullTrustAssemblies property 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.

Applies to