C# Class TUP.AsmResolver.LibraryReference

Represents a library reference containing imported methods that the corresponding portable executable uses.
Show file Open project: Rex-Hays/GNIDA Class Usage Examples

Public Methods

Method Description
Resolve ( Win32Assembly parentAssembly, bool disableWOW64Redirection = true ) : Win32Assembly

/// Gets the address of the library reference in the portable executable file. ///

Resolves the asembly by checking the directory of the assembly, the system directories and the current directory.

Private Methods

Method Description
LibraryReference ( PeImage image, uint offset, Structures rawDescriptor, string libraryName, ImportMethod importMethods ) : System

Method Details

Resolve() public method

/// Gets the address of the library reference in the portable executable file. /// Resolves the asembly by checking the directory of the assembly, the system directories and the current directory.
public Resolve ( Win32Assembly parentAssembly, bool disableWOW64Redirection = true ) : Win32Assembly
parentAssembly Win32Assembly The parent assembly to search from. You can fill in a null value, but it can influent the result.
disableWOW64Redirection bool Disables WOW64 layer redirections to get access 64 bit directories. Default value is true.
return Win32Assembly