C# 클래스 AcTools.Utils.Helpers.ProcessExtension

파일 보기 프로젝트 열기: gro-ove/actools

공개 메소드들

메소드 설명
GetWindowsHandles ( this process ) : IReadOnlyList
HasExitedSafe ( this process ) : bool
Start ( string filename, IEnumerable args, bool shell = true ) : Process
WaitForExitAsync ( this process, CancellationToken cancellationToken = default(CancellationToken) ) : Task

비공개 메소드들

메소드 설명
EnumWindow ( IntPtr handle, IntPtr pointer ) : bool
GetFilenameSafe ( this process ) : string
GetModuleFileNameEx ( IntPtr hProcess, IntPtr hModule, [ lpBaseName, [ nSize ) : uint
GetProcessPathUsingManagement ( int processId ) : string
GetProcessPathUsingPsApi ( int pid ) : string
GetQuotedArgument ( string argument ) : string
HasWhitespace ( string text ) : bool
Reverse ( string text ) : string
WaitForExitAsyncDeeperFallback ( Process process, CancellationToken cancellationToken = default(CancellationToken) ) : Task
WaitForExitAsyncFallback ( Process process, CancellationToken cancellationToken = default(CancellationToken) ) : Task

메소드 상세

GetWindowsHandles() 공개 정적인 메소드

public static GetWindowsHandles ( this process ) : IReadOnlyList
process this
리턴 IReadOnlyList

HasExitedSafe() 공개 정적인 메소드

public static HasExitedSafe ( this process ) : bool
process this
리턴 bool

Start() 공개 정적인 메소드

public static Start ( string filename, IEnumerable args, bool shell = true ) : Process
filename string
args IEnumerable
shell bool
리턴 System.Diagnostics.Process

WaitForExitAsync() 공개 정적인 메소드

public static WaitForExitAsync ( this process, CancellationToken cancellationToken = default(CancellationToken) ) : Task
process this
cancellationToken System.Threading.CancellationToken
리턴 Task