This class represents the application security trust information.
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
Thetype exposes the following members.
|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.|
|Clear||Resets the object to its default state of full trust.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (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 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.