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)

public class TrustManagerContext

The TrustManagerContext type exposes the following members.

Public methodTrustManagerContext()Initializes a new instance of the TrustManagerContext class.
Public methodTrustManagerContext(TrustManagerUIContext)Initializes a new instance of the TrustManagerContext class using the specified TrustManagerUIContext object.

Public propertyIgnorePersistedDecisionGets or sets a value indicating whether the application security manager should ignore any persisted decisions and call the trust manager.
Public propertyKeepAliveGets or sets a value indicating whether the trust manager should cache state for this application, to facilitate future requests to determine application trust.
Public propertyNoPromptGets or sets a value indicating whether the trust manager should prompt the user for trust decisions.
Public propertyPersistGets or sets a value indicating whether the user's response to the consent dialog should be persisted.
Public propertyPreviousApplicationIdentityGets or sets the identity of the previous application identity.
Public propertyUIContextGets or sets the type of user interface the trust manager should display.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns 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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft