ApplicationDirectory.Equals Method (Object)


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

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

public override bool Equals(
	object o


Type: System.Object

An object of same type as the current evidence object.

Return Value

Type: System.Boolean

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

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.

.NET Framework
Available since 1.1
Return to top