PEAPI

PEFile Constructor (String, Boolean, Boolean, String)

Create a new PEFile. Each PEFile is a module.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String, _
   ByVal isDLL As Boolean, _
   ByVal hasAssembly As Boolean, _
   ByVal outputDir As String _
)
[C#]
public PEFile(
   string name,
   bool isDLL,
   bool hasAssembly,
   string outputDir
);

Parameters

name
module name, also used for the file name
isDLL
create a .dll or .exe file
hasAssembly
this file is an assembly and will contain the assembly manifest. The assembly name is the same as the module name
outputDir
write the PEFile to this directory. If this string is null then the output will be to the current directory

See Also

PEFile Class | PEFile Members | PEAPI Namespace | PEFile Constructor Overload List