Saml2SecurityTokenHandler.CanReadKeyIdentifierClause Method (XmlReader)

.NET Framework (current version)

Indicates if the current XML element is pointing to a key identifier clause that can be serialized by this instance.

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

public override bool CanReadKeyIdentifierClause(
	XmlReader reader


Type: System.Xml.XmlReader

An XML reader positioned at the start element.

Return Value

Type: System.Boolean

true if the ReadKeyIdentifierClause method can read the element; otherwise, false.

.NET Framework
Available since 4.5
Return to top