Share via


AsnReader.PeekTag Method

Definition

Read the encoded tag at the next data position, without advancing the reader.

public:
 System::Formats::Asn1::Asn1Tag PeekTag();
public System.Formats.Asn1.Asn1Tag PeekTag ();
member this.PeekTag : unit -> System.Formats.Asn1.Asn1Tag
Public Function PeekTag () As Asn1Tag

Returns

The decoded tag value.

Exceptions

a tag could not be decoded at the reader's current position.

Applies to