ApplicationDirectory Class

Definition

Provides the application directory as evidence for policy evaluation. This class cannot be inherited.

public ref class ApplicationDirectory sealed : System::Security::Policy::EvidenceBase
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class ApplicationDirectory : System.Security.Policy.EvidenceBase
type ApplicationDirectory = class
    inherit EvidenceBase
Public NotInheritable Class ApplicationDirectory
Inherits EvidenceBase
Inheritance
ApplicationDirectory
Attributes

Remarks

The domain host can associate a file directory with an application domain. The evidence for policy evaluation is provided only when the application domain is associated with a file directory.

Constructors

ApplicationDirectory(String)

Initializes a new instance of the ApplicationDirectory class.

Properties

Directory

Gets the path of the application directory.

Methods

Clone()

Creates a new object that is a copy of the current instance.

Copy()

Creates a new copy of the ApplicationDirectory.

Equals(Object)

Determines whether instances of the same type of an evidence object are equivalent.

GetHashCode()

Gets the hash code of the current application directory.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Gets a string representation of the state of the ApplicationDirectory evidence object.

Applies to