Bewerken

Delen via


ApplicationTrust.FullTrustAssemblies Property

Definition

Caution

Code Access Security is not supported or honored by the runtime.

Gets the list of full-trust assemblies for this application trust.

public:
 property System::Collections::Generic::IList<System::Security::Policy::StrongName ^> ^ FullTrustAssemblies { System::Collections::Generic::IList<System::Security::Policy::StrongName ^> ^ get(); };
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Collections.Generic.IList<System.Security.Policy.StrongName> FullTrustAssemblies { get; }
public System.Collections.Generic.IList<System.Security.Policy.StrongName> FullTrustAssemblies { get; }
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.FullTrustAssemblies : System.Collections.Generic.IList<System.Security.Policy.StrongName>
member this.FullTrustAssemblies : System.Collections.Generic.IList<System.Security.Policy.StrongName>
Public ReadOnly Property FullTrustAssemblies As IList(Of StrongName)

Property Value

A list of full-trust assemblies.

Attributes

Remarks

Caution

Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.

The list identifies assemblies that are to be granted full trust within the AppDomain that is associated with this ApplicationTrust instance. The assemblies are identified by their strong names.

Applies to