TrustManagerContext Class

 

Represents the context for the trust manager to consider when making the decision to run an application, and when setting up the security on a new AppDomain in which to run an application.

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

System.Object
  System.Security.Policy.TrustManagerContext

[ComVisibleAttribute(true)]
public class TrustManagerContext

NameDescription
System_CAPS_pubmethodTrustManagerContext()

Initializes a new instance of the TrustManagerContext class.

System_CAPS_pubmethodTrustManagerContext(TrustManagerUIContext)

Initializes a new instance of the TrustManagerContext class using the specified TrustManagerUIContext object.

NameDescription
System_CAPS_pubpropertyIgnorePersistedDecision

Gets or sets a value indicating whether the application security manager should ignore any persisted decisions and call the trust manager.

System_CAPS_pubpropertyKeepAlive

Gets or sets a value indicating whether the trust manager should cache state for this application, to facilitate future requests to determine application trust.

System_CAPS_pubpropertyNoPrompt

Gets or sets a value indicating whether the trust manager should prompt the user for trust decisions.

System_CAPS_pubpropertyPersist

Gets or sets a value indicating whether the user's response to the consent dialog should be persisted.

System_CAPS_pubpropertyPreviousApplicationIdentity

Gets or sets the identity of the previous application identity.

System_CAPS_pubpropertyUIContext

Gets or sets the type of user interface the trust manager should display.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

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_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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

For a list of initial property values for an instance of the TrustManagerContext class, see the TrustManagerContext() constructor.

.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: