System.Security.Policy.ApplicationDirectory.Equals Method

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

Syntax

public override bool Equals (object o)

Parameters

o
An object of same type as the current evidence object.

Returns

true if the two instances are equivalent; otherwise, false.

Remarks

The directory values of the two instances must match exactly. Equivalent noncanonical paths are not resolved. For example, C:\app and C:\temp\...\app are not equal directory values.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0