Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Reflection.PortableExecutable
  3. PEReader
  4. GetMetadata()
  • PEReader
    • PEReader(Stream)
    • PEReader(Byte*, Int32)
    • PEReader(Stream, PEStreamOptions)
    • PEReader(Byte*, Int32, Boolean)
    • PEReader(Stream, PEStreamOptions, Int32)
    • PEReader(ImmutableArray<Byte>)
    • HasMetadata
    • IsEntireImageAvailable
    • IsLoadedImage
    • PEHeaders
    • Dispose()
    • GetEntireImage()
    • GetMetadata()
    • GetSectionData(Int32)
    • GetSectionData(String)
    • ReadCodeViewDebugDirectoryData(DebugDirectoryEntry)
    • ReadDebugDirectory()
    • ReadEmbeddedPortablePdbDebugDirectoryData(DebugDirectoryEntry)
    • ReadPdbChecksumDebugDirectoryData(DebugDirectoryEntry)
    • TryOpenAssociatedPortablePdb(String, Func<String, Stream>, MetadataReaderProvider, String)
    • GetMetadataReader(PEReader)
    • GetMetadataReader(PEReader, MetadataReaderOptions)
    • GetMetadataReader(PEReader, MetadataReaderOptions, MetadataStringDecoder)
    • GetMethodBody(PEReader, Int32)
net5.0
namespace System.Reflection.PortableExecutable
{
    public sealed class PEReader : IDisposable
    {
        public PEMemoryBlock GetMetadata();
    }
}
nuget.org
0.0 %
Reference this API
.NET
5.06.07.08.09.010.0
.NET Core
1.01.12.02.12.23.03.1
.NET Framework
4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard
2.02.1
Information specific to net5.0
Assembly

System.Reflection.Metadata , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙