Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ApplicationSecurityInfo Class

ApplicationSecurityInfo Class

Holds the security evidence for an application. This class cannot be inherited.


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

[SecurityPermissionAttribute(SecurityAction.Assert, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class ApplicationSecurityInfo

The ApplicationSecurityInfo type exposes the following members.

Public methodApplicationSecurityInfoInitializes a new instance of the ApplicationSecurityInfo class using the provided activation context.

Public propertyApplicationEvidenceGets or sets the evidence for the application.
Public propertyApplicationIdGets or sets the application identity information.
Public propertyDefaultRequestSetGets or sets the default permission set.
Public propertyDeploymentIdGets or sets the top element in the application, which is described in the deployment identity.

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 methodToStringReturns a string that represents the current object. (Inherited from Object.)

ApplicationSecurityInfo provides security information about a manifest-activated application using information obtained from the application's manifests and its ActivationContext.

.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

  • SecurityCriticalAttribute 

    requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

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