Export (0) Print
Expand All

TrustInfo Class

This class represents the application security trust information.

System::Object
  Microsoft.Build.Tasks.Deployment.ManifestUtilities::TrustInfo

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

[ComVisibleAttribute(false)]
public ref class TrustInfo sealed

The TrustInfo type exposes the following members.

  NameDescription
Public methodTrustInfoInitializes a new instance of the TrustInfo class.
Top

  NameDescription
Public propertyHasUnmanagedCodePermissionDetermines whether the application has permission to call unmanaged code.
Public propertyIsFullTrustDetermines whether the application is full trust or partial trust.
Public propertyPermissionSetGets or sets the permission set object for the application trust.
Public propertyPreserveFullTrustPermissionSetGets or sets whether to preserve partial trust permission when the full trust flag is set.
Public propertySameSiteAccessGets 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.
Top

  NameDescription
Public methodClearResets the TrustInfo object to its default state of full trust.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodRead(Stream)Reads the application trust from an XML file.
Public methodRead(String)Reads the application trust from an XML file.
Public methodReadManifest(Stream)Reads the application trust from a ClickOnce application manifest.
Public methodReadManifest(String)Reads the application trust from a ClickOnce application manifest.
Public methodToStringReturns all the information in the application security trust object as a string. (Overrides Object::ToString().)
Public methodWrite(Stream)Writes the application trust to an XML file.
Public methodWrite(String)Writes the application trust to an XML file.
Public methodWriteManifest(Stream)Writes the application trust to a new template ClickOnce application manifest.
Public methodWriteManifest(String)Writes the application trust to a ClickOnce application manifest.
Public methodWriteManifest(Stream, Stream)Updates an existing ClickOnce application manifest with the specified trust.
Top

.NET Framework

Supported in: 4.6, 4, 3.5, 3.0, 2.0

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft