This documentation is archived and is not being maintained.
TrustInfo Class
Visual Studio 2010
This class represents the application security trust information.
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The TrustInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HasUnmanagedCodePermission | Determines whether the application has permission to call unmanaged code. |
![]() | IsFullTrust | Determines whether the application is full trust or partial trust. |
![]() | PermissionSet | Gets or sets the permission set object for the application trust. |
![]() | PreserveFullTrustPermissionSet | Gets or sets whether to preserve partial trust permission when the full trust flag is set. |
![]() | SameSiteAccess | Gets or sets the level of same site access permitted, specifying whether the application has permission to communicate with the server from which it was deployed. |
| Name | Description | |
|---|---|---|
![]() | Clear | Resets the TrustInfo object to its default state of full trust. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Read(Stream) | Reads the application trust from an XML file. |
![]() | Read(String) | Reads the application trust from an XML file. |
![]() | ReadManifest(Stream) | Reads the application trust from a ClickOnce application manifest. |
![]() | ReadManifest(String) | Reads the application trust from a ClickOnce application manifest. |
![]() | ToString | Returns all the information in the application security trust object as a string. (Overrides Object::ToString().) |
![]() | Write(Stream) | Writes the application trust to an XML file. |
![]() | Write(String) | Writes the application trust to an XML file. |
![]() | WriteManifest(Stream) | Writes the application trust to a new template ClickOnce application manifest. |
![]() | WriteManifest(String) | Writes the application trust to a ClickOnce application manifest. |
![]() | WriteManifest(Stream, Stream) | Updates an existing ClickOnce application manifest with the specified trust. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
