ApplicationTrust Class

 

Encapsulates security decisions about an application. This class cannot be inherited.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Security.Policy.EvidenceBase
    System.Security.Policy.ApplicationTrust

[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class ApplicationTrust : EvidenceBase, ISecurityEncodable

NameDescription
System_CAPS_pubmethodApplicationTrust()

Initializes a new instance of the ApplicationTrust class.

System_CAPS_pubmethodApplicationTrust(ApplicationIdentity)

Initializes a new instance of the ApplicationTrust class with an ApplicationIdentity.

System_CAPS_pubmethodApplicationTrust(PermissionSet, IEnumerable<StrongName>)

Initializes a new instance of the ApplicationTrust class using the provided grant set and collection of full-trust assemblies.

NameDescription
System_CAPS_pubpropertyApplicationIdentity

Gets or sets the application identity for the application trust object.

System_CAPS_pubpropertyDefaultGrantSet

Gets or sets the policy statement defining the default grant set.

System_CAPS_pubpropertyExtraInfo

Gets or sets extra security information about the application.

System_CAPS_pubpropertyFullTrustAssemblies

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

System_CAPS_pubpropertyIsApplicationTrustedToRun

Gets or sets a value indicating whether the application has the required permission grants and is trusted to run.

System_CAPS_pubpropertyPersist

Gets or sets a value indicating whether application trust information is persisted.

NameDescription
System_CAPS_pubmethodClone()

Creates a new object that is a complete copy of the current instance.(Overrides EvidenceBase.Clone().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFromXml(SecurityElement)

Reconstructs an ApplicationTrust object with a given state from an XML encoding.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXml()

Creates an XML encoding of the ApplicationTrust object and its current state.

An ApplicationTrust object is returned by a trust manager's DetermineApplicationTrust method.

.NET Framework
Available since 2.0

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

Return to top
Show: