ProcessStartInfo overview
Public Constructors
Public Properties
Arguments | Gets or sets the set of command line arguments to use when starting the application. |
CreateNoWindow | Gets or sets a value indicating whether to start the process in a new window. |
EnvironmentVariables | Gets search paths for files, directories for temporary files, application-specific options, and other similar information. |
ErrorDialog | Gets or sets a value indicating whether an error dialog is displayed to the user if the process cannot be started. |
ErrorDialogParentHandle | Gets or sets the window handle to use when an error dialog is shown for a process that cannot be started. |
FileName | Gets or sets the application or document to start. |
RedirectStandardError | Gets or sets a value indicating whether the process's error output is written to the Process instance's StandardError member, enabling you to write to a destination other than the standard error stream (usually the monitor screen). Used to write error data to a file or a log, for example. |
RedirectStandardInput | Gets or sets a value indicating whether the process command input is read from the Process instance's StandardInput member, enabling you to read from a source other than the standard input stream (usually the keyboard). Used to read data from a file, for example. |
RedirectStandardOutput | Gets or sets a value indicating whether the process output is written to the Process instance's StandardOutput member, enabling you to write to a destination other than the standard output stream (usually the monitor screen). Used to write data to a file, for example. |
UseShellExecute | Gets or sets a value indicating whether to use the operating system shell to start the process. |
Verb | Gets or sets the verb to use when opening the application or document specified by the FileName property. |
Verbs | Gets the set of verbs associated with the type of file specified by the FileName property. |
WindowStyle | Gets or sets the window state to use when the process is started. |
WorkingDirectory | Gets or sets the initial directory for the process to be started. |
Public Methods
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
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. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
ProcessStartInfo Class | System.Diagnostics Namespace