ProcessStartInfo Properties
.NET Framework 4.5
The ProcessStartInfo type exposes the following members.
| Name | Description | |
|---|---|---|
|
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. |
|
Domain | Gets or sets a value that identifies the domain to use when starting the process. |
|
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 box is displayed to the user if the process cannot be started. |
|
ErrorDialogParentHandle | Gets or sets the window handle to use when an error dialog box is shown for a process that cannot be started. |
|
FileName | Gets or sets the application or document to start. |
|
LoadUserProfile | Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry. |
|
Password | Gets or sets a secure string that contains the user password to use when starting the process. |
|
RedirectStandardError | Gets or sets a value that indicates whether the error output of an application is written to the Process.StandardError stream. |
|
RedirectStandardInput | Gets or sets a value indicating whether the input for an application is read from the Process.StandardInput stream. |
|
RedirectStandardOutput | Gets or sets a value that indicates whether the output of an application is written to the Process.StandardOutput stream. |
|
StandardErrorEncoding | Gets or sets the preferred encoding for error output. |
|
StandardOutputEncoding | Gets or sets the preferred encoding for standard output. |
|
UserName | Gets or sets the user name to be used when starting the process. |
|
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 | When the UseShellExecute property is false, gets or sets the working directory for the process to be started. When UseShellExecute is true, gets or sets the directory that contains the process to be started. |