The properties of the Process class are listed below. For a complete list of Process class members, see the Process Members topic.
BasePriority | Gets the base priority of the associated process. |
ExitCode | Gets the value that was specified by the associated process when it was terminated. |
ExitTime | Gets the time that the associated process exited. |
Handle | Returns the native handle for the associated process. The handle is only available if this component started the process. |
HandleCount | Gets the number of handles that are associated with the process. |
HasExited | Gets a value indicating whether the associated process has been terminated. |
Id | Gets the unique identifier for the associated process. |
MachineName | Gets the name of the computer on which the associated process is running. |
MainModule | Gets the main module for the associated process. |
MainWindowHandle | Returns the window handle of the main window of the associated process. |
MainWindowTitle | Returns the caption of the MainWindowHandle of the process. If the handle is zero (0), then an empty string is returned. |
MaxWorkingSet | Gets or sets the maximum allowable working set for the associated process. |
MinWorkingSet | Gets or sets the minimum allowable working set for the associated process. |
Modules | Gets the modules that have been loaded by the associated process. |
NonpagedSystemMemorySize | Returns the amount of memory that the system has allocated on behalf of the associated process that can not be written to the virtual memory paging file. |
PagedMemorySize | Returns the amount of memory that the associated process has allocated that can be written to the virtual memory paging file. |
PagedSystemMemorySize | Returns the amount of memory that the system has allocated on behalf of the associated process that can be written to the virtual memory paging file. |
PeakPagedMemorySize | Returns the maximum amount of memory that the associated process has allocated that can be written to the virtual memory paging file. |
PeakVirtualMemorySize | Returns the maximum amount of virtual memory that the associated process has requested. |
PeakWorkingSet | Returns the maximum amount of physical memory that the associated process required at once. |
PriorityBoostEnabled | Gets or sets a value indicating whether the associated process priority should be temporarily boosted by the operating system when the main window has focus. |
PriorityClass | Gets or sets the overall priority category for the associated process. |
PrivateMemorySize | Returns the number of bytes that the associated process has allocated that cannot be shared with other processes. |
PrivilegedProcessorTime | Returns the amount of time the process has spent running code inside the operating system core. |
ProcessName | Gets the friendly name of the process. |
ProcessorAffinity | Gets or sets which processors the threads in this process can be scheduled to run on. |
Responding | Gets a value indicating whether or not the user interface of the process is responding. |
Site (inherited from Component) | Gets or sets the site of the Component. |
StartInfo | Gets or sets the parameters to pass into the Start method for the Process. |
StartTime | Returns the time the associated process was started. |
SynchronizingObject | Represents the object used to marshal the event handler calls issued as a result of a Process exit. Normally this property will be set when the component is placed inside a control or a from, since those components are bound to a specific thread. |
Threads | Gets the set of threads that are running in the associated process. |
TotalProcessorTime | Returns the amount of time the associated process has spent utilizing the CPU. It is the sum of the UserProcessorTime and PrivilegedProcessorTime. |
UserProcessorTime | Returns the amount of time the associated process has spent running code inside the application portion of the process (not the operating system core). |
VirtualMemorySize | Returns the amount of virtual memory that the associated process has requested. |
WatchForExit | Gets or sets whether the System.Diagnostics.Process.Exited event is fired when the process terminates. |
WorkingSet | Returns the total amount of physical memory the associated process. |