C# 클래스 RestrictedProcess.Process.RestrictedProcess

상속: IDisposable
파일 보기 프로젝트 열기: NikolayIT/RestrictedProcess.NET 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
RestrictedProcess ( string fileName, string workingDirectory, IEnumerable arguments = null, int bufferSize = 4096 ) : System
Start ( int timeLimit, int memoryLimit ) : void
WaitForExit ( int milliseconds ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CreatePipe ( SafeFileHandle &parentHandle, SafeFileHandle &childHandle, bool parentInputs, int bufferSize ) : void
CreatePipeWithSecurityAttributes ( SafeFileHandle &readPipe, SafeFileHandle &writePipe, SecurityAttributes pipeAttributes, int size ) : void
CreateRestrictedToken ( ) : IntPtr
CreateRestrictedTokenWithSafer ( ) : IntPtr
GetProcessTimes ( ) : ProcessThreadTimes
Kill ( ) : void
RedirectStandardIoHandles ( StartupInfo &startupInfo, int bufferSize ) : void
SetTokenMandatoryLabel ( IntPtr token, SecurityMandatoryLabel securityMandatoryLabel ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

RestrictedProcess() 공개 메소드

public RestrictedProcess ( string fileName, string workingDirectory, IEnumerable arguments = null, int bufferSize = 4096 ) : System
fileName string
workingDirectory string
arguments IEnumerable
bufferSize int
리턴 System

Start() 공개 메소드

public Start ( int timeLimit, int memoryLimit ) : void
timeLimit int
memoryLimit int
리턴 void

WaitForExit() 공개 메소드

public WaitForExit ( int milliseconds ) : bool
milliseconds int
리턴 bool