C# Class TUP.AsmResolver.NET.NETHeader

Represents a .NET header from an application. This header is only available if the assembly is written in a .NET language.
Inheritance: IHeader, IDisposable, IDataDirectoryProvider, ICacheProvider
Exibir arquivo Open project: Rex-Hays/GNIDA Class Usage Examples

Public Methods

Method Description
ClearCache ( ) : void
Dispose ( ) : void

Frees all heaps and streams that are being used.

FromAssembly ( Win32Assembly assembly ) : NETHeader

Gets the Portable Executeable's NT header by specifing the assembly.

HasStream ( string name ) : bool

Returns true when a stream specified by its name is present in the assembly.

LoadCache ( ) : void

Private Methods

Method Description
NETHeader ( ) : System

Method Details

ClearCache() public method

public ClearCache ( ) : void
return void

Dispose() public method

Frees all heaps and streams that are being used.
public Dispose ( ) : void
return void

FromAssembly() public static method

Gets the Portable Executeable's NT header by specifing the assembly.
public static FromAssembly ( Win32Assembly assembly ) : NETHeader
assembly Win32Assembly The assembly to read the nt header
return NETHeader

HasStream() public method

Returns true when a stream specified by its name is present in the assembly.
public HasStream ( string name ) : bool
name string The name of the stream.
return bool

LoadCache() public method

public LoadCache ( ) : void
return void