PEReader.HasMetadata Property

Definition

Gets a value that indicates if the PE image contains CLI metadata.

public:
 property bool HasMetadata { bool get(); };
public bool HasMetadata { get; }
member this.HasMetadata : bool
Public ReadOnly Property HasMetadata As Boolean

Property Value

true if the PE image contains CLI metadata; otherwise, false.

Exceptions

The PE headers contain invalid data.

Error reading from the underlying stream.

Applies to