EnvelopedSignatureReader.Read Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Reads the next node from the stream.

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

public override bool Read()

Return Value

Type: System.Boolean

true if the next node was read successfully; false if there are no more nodes.

Checks whether the end of the envelope is reached and validates the signature if the requireSignature parameter was specified true in the constructor. If the reader gets positioned on a <Signature> element, the whole signature is read in if the automaticallyReadSignature parameter was specified true in the constructor.

.NET Framework
Available since 4.5
Return to top
Show: