PEAPI

PEFile Constructor (String, Boolean, Boolean, Stream)

Create a new PEFile

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

Parameters

name
module name
isDLL
create a .dll or .exe
hasAssembly
this PEfile is an assembly and will contain the assemly manifest. The assembly name is the same as the module name
outStream
write the PEFile to this stream instead of to a new file

See Also

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