<PackageReference Include="NUnit" Version="3.0.0-alpha" />

AssemblyReader

public class AssemblyReader : IDisposable
AssemblyReader knows how to find various things in an assembly header
public string AssemblyPath { get; }

Gets the assembly path.

public string ImageRuntimeVersion { get; }

Gets the image runtime version for the assembly.

public bool IsDotNetFile { get; }

Gets a value indicating whether this instance is a .NET executable.

public bool IsValidPeFile { get; }

Gets a value indicating whether this instance is a valid PE file.

public AssemblyReader(string assemblyPath)

Initializes a new instance of the AssemblyReader class.

public AssemblyReader(Assembly assembly)

Initializes a new instance of the AssemblyReader class.

public void Dispose()

Closes the file stream and reader and sets references to null.