Interface IMetadataStream
- Namespace
- AsmResolver.PE.DotNet.Metadata
- Assembly
- AsmResolver.PE.dll
Represents a single metadata stream in the metadata directory of a managed executable file.
public interface IMetadataStream : ISegment, IOffsetProvider, IWritable
- Inherited Members
Properties
CanRead
Gets a value indicating whether the raw contents of the stream can be read using a binary stream reader.
bool CanRead { get; }
Property Value
Name
Gets or sets the name of the metadata stream.
string Name { get; set; }
Property Value
Methods
CreateReader()
Creates a binary reader that reads the raw contents of the metadata stream.
BinaryStreamReader CreateReader()
Returns
- BinaryStreamReader
The reader.
Exceptions
- InvalidOperationException
Occurs when CanRead is
false
.