Search notes:

System.Diagnostics.Process (class)

System.Diagnostics.Process allows to control processes.
System.Diagnostics.Process inherits from System.ComponentModel.Component.
In PowerShell, S.D.Process objects are returned by the get-process cmdLet.

Properties, methods and events

BasePriority
BeginErrorReadLine()
BeginOutputReadLine()
CancelErrorRead()
CancelOutputRead()
Close()
CloseMainWindow()
Dispose()
EnableRaisingEvents
EnterDebugMode()
ErrorDataReceived() An event
ExitCode
Exited() An event
ExitTime
GetCurrentProcess()
GetProcessById()
GetProcesses()
GetProcessesByName()
Handle
HandleCount
HasExited
Id
Kill()
LeaveDebugMode()
MachineName
MainModule A System.Diagnostics.ProcessModule object that corresponds to module that was used to start the process. Can be null. Compare with the Modules property.
MainWindowHandle
MainWindowTitle
MaxWorkingSet
MinWorkingSet
Modules Compare iwht the MainModule property.
NonpagedSystemMemorySize Deprecated in favor of NonpagedSystemMemorySize64
NonpagedSystemMemorySize64 Amount of nonpaged system memory (bytes). Compare with PagedMemorySize64
OnExited()
OutputDataReceived() An event
PagedMemorySize
PagedMemorySize64
PagedSystemMemorySize
PagedSystemMemorySize64 Compare with NonpagedSystemMemorySize64
PeakPagedMemorySize
PeakPagedMemorySize64
PeakVirtualMemorySize
PeakVirtualMemorySize64
PeakWorkingSet Deprecated in favor of PeakWorkingSet64
PeakWorkingSet64 The maximum amount of physical memory (bytes) that was allocated for the associated process since it was started.
PriorityBoostEnabled
PriorityClass
PrivateMemorySize Deprecated in favor of PrivateMemorySize64
PrivateMemorySize64 Equivalent to a process's Private Bytes performance counter.
PrivilegedProcessorTime
ProcessName
ProcessorAffinity
Refresh() Descards cached information in the process component.
Responding
SafeHandle
SessionId
StandardError
StandardInput
StandardOutput
Start()
StartInfo
StartTime
SynchronizingObject
Threads System.Diagnostics.ProcessThreadCollection
ToString()
TotalProcessorTime The amount of time that the process spent using the CPU. (System.TimeSpan)
UserProcessorTime
VirtualMemorySize Deprecated in favor of VirtualMemorySize64
VirtualMemorySize64 Total amount of virtual memory (bytes)
WaitForExit()
WaitForExitAsync()
WaitForInputIdle()
WorkingSet Deprecated in favor of WorkingSet64.
WorkingSet64 Total amount of phyisical memory used (bytes).

See also

The Start() method

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1759946418, '216.73.216.10', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Diagnostics/Process/index(123): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78