BinaryKeyIdentifierClause.Matches Method (SecurityKeyIdentifierClause)


Returns a value that indicates whether the key identifier for this instance is equivalent to the specified key identifier clause.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override bool Matches(
	SecurityKeyIdentifierClause keyIdentifierClause

Return Value

Type: System.Boolean

true if keyIdentifierClause is of type BinaryKeyIdentifierClause and the binary data returned by the GetBuffer method is identical for the keyIdentifierClause parameter and the current instance; otherwise, false.

.NET Framework
Available since 3.0
Return to top