Метод | Описание | |
---|---|---|
Compile ( string InputSource, string OutputPE, string ResourceFile, bool icon ) : void |
Use the C# Compiler to compile the resource 'LDRsource'. LDRsource used as a loader to run the stub
|
|
SetBytes ( byte bytes, bool fromFile ) : string |
Return the size of a file (used when showing a file size in the debug panel)
|
|
pumpFile ( string FileName, long Bytes ) : void |
Append bytes to the end of the file
|
public static Compile ( string InputSource, string OutputPE, string ResourceFile, bool icon ) : void | ||
InputSource | string | The C# source to be compiled (LDRsource) |
OutputPE | string | File to save as |
ResourceFile | string | The stub + file to bind with, added as a resource to the loader |
icon | bool | Choose whether to compile it with a custom icon (icon.ico) |
Результат | void |
public static SetBytes ( byte bytes, bool fromFile ) : string | ||
bytes | byte | File location if retrieving from a file on the HDD, or a byte array if not |
fromFile | bool | Whether or not the parameter 'bytes' is a file on the HDD |
Результат | string |
public static pumpFile ( string FileName, long Bytes ) : void | ||
FileName | string | File to append bytes to |
Bytes | long | number of bytes to append |
Результат | void |