W3cubDocs

/Haxe C#

Process

package cs.system.diagnostics

extends ComponentMarshalByRefObject

@:libType@:csNative@:native("System.Diagnostics.Process") Available on cs

Constructor

@:final @:overload new ()

Variables

read only BasePriority:Int

EnableRaisingEvents:Bool

read only ExitCode:Int

read only ExitTime:DateTime

read only Handle:IntPtr

read only HandleCount:Int

read only HasExited:Bool

read only Id:Int

read only MachineName:String

read only MainModule:ProcessModule

read only MainWindowHandle:IntPtr

read only MainWindowTitle:String

MaxWorkingSet:IntPtr

MinWorkingSet:IntPtr

read only Modules:ProcessModuleCollection

read only NonpagedSystemMemorySize:Int

read only NonpagedSystemMemorySize64:Int64

read only PagedMemorySize:Int

read only PagedMemorySize64:Int64

read only PagedSystemMemorySize:Int

read only PagedSystemMemorySize64:Int64

read only PeakPagedMemorySize:Int

read only PeakPagedMemorySize64:Int64

read only PeakVirtualMemorySize:Int

read only PeakVirtualMemorySize64:Int64

read only PeakWorkingSet:Int

read only PeakWorkingSet64:Int64

PriorityBoostEnabled:Bool

PriorityClass:ProcessPriorityClass

read only PrivateMemorySize:Int

read only PrivateMemorySize64:Int64

read only PrivilegedProcessorTime:TimeSpan

read only ProcessName:String

ProcessorAffinity:IntPtr

read only Responding:Bool

read only SessionId:Int

read only StandardError:StreamReader

read only StandardInput:StreamWriter

read only StandardOutput:StreamReader

StartInfo:ProcessStartInfo

read only StartTime:DateTime

SynchronizingObject:ISynchronizeInvoke

read only Threads:ProcessThreadCollection

read only TotalProcessorTime:TimeSpan

read only UserProcessorTime:TimeSpan

read only VirtualMemorySize:Int

read only VirtualMemorySize64:Int64

read only WorkingSet:Int

read only WorkingSet64:Int64

Methods

@:final @:overload BeginErrorReadLine ():Void

@:final @:overload BeginOutputReadLine ():Void

@:final @:overload CancelErrorRead ():Void

@:final @:overload CancelOutputRead ():Void

@:final @:overload Close ():Void

@:final @:overload CloseMainWindow ():Bool

@:final @:overload Kill ():Void

@:final @:overload Refresh ():Void

@:final @:overload Start ():Bool

@:final @:overload WaitForExit ():Void

@:final @:overload WaitForExit (milliseconds:Int):Bool

@:final @:overload WaitForInputIdle ():Bool

@:final @:overload WaitForInputIdle (milliseconds:Int):Bool

@:final @:overload add_ErrorDataReceived (value:DataReceivedEventHandler):Void

@:final @:overload add_Exited (value:EventHandler):Void

@:final @:overload add_OutputDataReceived (value:DataReceivedEventHandler):Void

@:final @:overload remove_ErrorDataReceived (value:DataReceivedEventHandler):Void

@:final @:overload remove_Exited (value:EventHandler):Void

@:final @:overload remove_OutputDataReceived (value:DataReceivedEventHandler):Void

Static methods

@:final @:overload static EnterDebugMode ():Void

@:final @:overload static GetCurrentProcess ():Process

@:final @:overload static GetProcessById (processId:Int):Process

@:final @:overload static GetProcessById (processId:Int, machineName:String):Process

@:final @:overload static GetProcesses ():NativeArray<Process>

@:final @:overload static GetProcesses (machineName:String):NativeArray<Process>

@:final @:overload static GetProcessesByName (processName:String):NativeArray<Process>

@:final @:overload static GetProcessesByName (processName:String, machineName:String):NativeArray<Process>

@:final @:overload static LeaveDebugMode ():Void

@:final @:overload static Start (startInfo:ProcessStartInfo):Process

@:final @:overload static Start (fileName:String, arguments:String, username:String, password:SecureString, domain:String):Process

@:final @:overload static Start (fileName:String, username:String, password:SecureString, domain:String):Process

@:final @:overload static Start (fileName:String, arguments:String):Process

@:final @:overload static Start (fileName:String):Process

@:native("Start") @:final @:overload static _Start (startInfo:ProcessStartInfo):Process

@:native("Start") @:final @:overload static Start (fileName:String, arguments:String, username:String, password:SecureString, domain:String):Process

@:native("Start") @:final @:overload static Start (fileName:String, username:String, password:SecureString, domain:String):Process

@:native("Start") @:final @:overload static Start (fileName:String, arguments:String):Process

@:native("Start") @:final @:overload static Start (fileName:String):Process

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