ApplicationDirectory Class

 

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

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

System.Object
  System.Security.Policy.EvidenceBase
    System.Security.Policy.ApplicationDirectory

[SerializableAttribute]
[ComVisibleAttribute(true)]
public sealed class ApplicationDirectory : EvidenceBase

NameDescription
System_CAPS_pubmethodApplicationDirectory(String)

Initializes a new instance of the ApplicationDirectory class.

NameDescription
System_CAPS_pubpropertyDirectory

Gets the path of the application directory.

NameDescription
System_CAPS_pubmethodClone()

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

System_CAPS_pubmethodCopy()

Creates a new copy of the ApplicationDirectory.

System_CAPS_pubmethodEquals(Object)

Determines whether instances of the same type of an evidence object are equivalent.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets the hash code of the current application directory.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

Gets a string representation of the state of the ApplicationDirectory evidence object.(Overrides Object.ToString().)

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.

.NET Framework
Available since 1.1

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: