ISecureConversationSession.TryReadSessionTokenIdentifier(XmlReader) Method

Definition

Tries to read the session token identifier pointed to by the XML reader.

C#
public bool TryReadSessionTokenIdentifier(System.Xml.XmlReader reader);

Parameters

reader
XmlReader

The XmlReader with which to try to read the token.

Returns

true if the XML pointed to by the XML reader corresponds to a SecurityKeyIdentifierClause that matches the security session's token; otherwise, false.

Remarks

This method is useful for sessions like WS-RM sessions that build on top of the security session and refer to the security session token's identifier as part of their session establishment protocol.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1