System.Security.Policy.StrongNameMembershipCondition.Equals Method

Determines whether the System.Security.Policy.StrongName from the specified object is equivalent to the System.Security.Policy.StrongName contained in the current System.Security.Policy.StrongNameMembershipCondition.

Syntax

public override bool Equals (object o)

Parameters

o
The object to compare to the current System.Security.Policy.StrongNameMembershipCondition.

Returns

true if the System.Security.Policy.StrongName from the specified object is equivalent to the System.Security.Policy.StrongName contained in the current System.Security.Policy.StrongNameMembershipCondition; otherwise, false.

Remarks

For two System.Security.Policy.StrongName classes to be equal, their name, version, and public key blob must match exactly.

Requirements

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