W3cubDocs

/Haxe C#

Process

package cs.system.diagnostics

extends ComponentMarshalByRefObject

Available on cs

Static methods

staticEnterDebugMode():Void

staticGetCurrentProcess():Process

staticGetProcessById(processId:Int):Process

staticGetProcessById(processId:Int, machineName:String):Process

staticGetProcesses():NativeArray<Process>

staticGetProcesses(machineName:String):NativeArray<Process>

staticGetProcessesByName(processName:String):NativeArray<Process>

staticGetProcessesByName(processName:String, machineName:String):NativeArray<Process>

staticLeaveDebugMode():Void

staticStart(startInfo:ProcessStartInfo):Process

staticStart(fileName:String, arguments:String, username:String, password:SecureString, domain:String):Process

staticStart(fileName:String, username:String, password:SecureString, domain:String):Process

staticStart(fileName:String, arguments:String):Process

staticStart(fileName:String):Process

static_Start(startInfo:ProcessStartInfo):Process

staticStart(fileName:String, arguments:String, username:String, password:SecureString, domain:String):Process

staticStart(fileName:String, username:String, password:SecureString, domain:String):Process

staticStart(fileName:String, arguments:String):Process

staticStart(fileName:String):Process

Constructor

finalnew()

Variables

read onlyBasePriority:Int

EnableRaisingEvents:Bool

read onlyExitCode:Int

read onlyExitTime:DateTime

read onlyHandle:IntPtr

read onlyHandleCount:Int

read onlyHasExited:Bool

read onlyId:Int

read onlyMachineName:String

read onlyMainModule:ProcessModule

read onlyMainWindowHandle:IntPtr

read onlyMainWindowTitle:String

MaxWorkingSet:IntPtr

MinWorkingSet:IntPtr

read onlyModules:ProcessModuleCollection

read onlyNonpagedSystemMemorySize:Int

read onlyNonpagedSystemMemorySize64:Int64

read onlyPagedMemorySize:Int

read onlyPagedMemorySize64:Int64

read onlyPagedSystemMemorySize:Int

read onlyPagedSystemMemorySize64:Int64

read onlyPeakPagedMemorySize:Int

read onlyPeakPagedMemorySize64:Int64

read onlyPeakVirtualMemorySize:Int

read onlyPeakVirtualMemorySize64:Int64

read onlyPeakWorkingSet:Int

read onlyPeakWorkingSet64:Int64

PriorityBoostEnabled:Bool

PriorityClass:ProcessPriorityClass

read onlyPrivateMemorySize:Int

read onlyPrivateMemorySize64:Int64

read onlyPrivilegedProcessorTime:TimeSpan

read onlyProcessName:String

ProcessorAffinity:IntPtr

read onlyResponding:Bool

read onlySessionId:Int

read onlyStandardError:StreamReader

read onlyStandardInput:StreamWriter

read onlyStandardOutput:StreamReader

StartInfo:ProcessStartInfo

read onlyStartTime:DateTime

SynchronizingObject:ISynchronizeInvoke

read onlyThreads:ProcessThreadCollection

read onlyTotalProcessorTime:TimeSpan

read onlyUserProcessorTime:TimeSpan

read onlyVirtualMemorySize:Int

read onlyVirtualMemorySize64:Int64

read onlyWorkingSet:Int

read onlyWorkingSet64:Int64

Methods

finalBeginErrorReadLine():Void

finalBeginOutputReadLine():Void

finalCancelErrorRead():Void

finalCancelOutputRead():Void

finalClose():Void

finalCloseMainWindow():Bool

finalKill():Void

finalRefresh():Void

finalStart():Bool

finalWaitForExit():Void

finalWaitForExit(milliseconds:Int):Bool

finalWaitForInputIdle():Bool

finalWaitForInputIdle(milliseconds:Int):Bool

finaladd_ErrorDataReceived(value:DataReceivedEventHandler):Void

finaladd_Exited(value:EventHandler):Void

finaladd_OutputDataReceived(value:DataReceivedEventHandler):Void

finalremove_ErrorDataReceived(value:DataReceivedEventHandler):Void

finalremove_Exited(value:EventHandler):Void

finalremove_OutputDataReceived(value:DataReceivedEventHandler):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/diagnostics/Process.html