C# 클래스 Aries.CodeDOMCompiler

파일 보기 프로젝트 열기: EAXrec/Aries

공개 메소드들

메소드 설명
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

메소드 상세

Compile() 공개 정적인 메소드

Use the C# Compiler to compile the resource 'LDRsource'. LDRsource used as a loader to run the stub
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

SetBytes() 공개 정적인 메소드

Return the size of a file (used when showing a file size in the debug panel)
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

pumpFile() 공개 정적인 메소드

Append bytes to the end of the file
public static pumpFile ( string FileName, long Bytes ) : void
FileName string File to append bytes to
Bytes long number of bytes to append
리턴 void