This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the Process class are listed here. For a complete list of Process class members, see the Process Members topic.
|Close||Frees all the resources that are associated with this component.|
|CloseMainWindow||Closes a process that has a user interface by sending a close message to its main window.|
|CreateObjRef (inherited from MarshalByRefObject)||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.|
|Dispose (inherited from Component)||Overloaded. Releases the resources used by the Component.|
|EnterDebugMode||Puts a Process component in state to interact with operating system processes that run in a special mode by enabling the native property SeDebugPrivilege on the current thread.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|GetCurrentProcess||Gets a new Process component and associates it with the currently active process.|
|GetHashCode (inherited from Object)||Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.|
|GetLifetimeService (inherited from MarshalByRefObject)||Retrieves the current lifetime service object that controls the lifetime policy for this instance.|
|GetProcessById||Overloaded. Creates a new Process component, and associates it with the existing process resource that you specify.|
|GetProcesses||Overloaded. Creates an array of new Process components and associates them with existing process resources.|
|GetProcessesByName||Overloaded. Creates an array of new Process components and associates them with the existing process resources that all share the specified process name.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|InitializeLifetimeService (inherited from MarshalByRefObject)||Obtains a lifetime service object to control the lifetime policy for this instance.|
|Kill||Immediately stops the associated process.|
|LeaveDebugMode||Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode.|
|Refresh||Discards any information about the associated process that has been cached inside the process component.|
|Start||Overloaded. Starts a process resource and associates it with a Process component.|
|ToString||Overridden. Formats the process's name as a string, combined with the parent component type, if applicable.|
|WaitForExit||Overloaded. Sets the period of time to wait for the associated process to exit, and blocks the current thread of execution until the time has elapsed or the process has exited.|
|WaitForInputIdle||Overloaded. Causes the Process component to wait for the associated process to enter an idle state.|
|Dispose||Overloaded. Overridden. See Component.Dispose.|
|Finalize (inherited from Component)||Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|GetService (inherited from Component)||Returns an object that represents a service provided by the Component or by its Container.|
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|
|OnExited||Raises the Exited event.|