ApplicationTrust.FullTrustAssemblies Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈