ProcessStartInfo Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyArguments

Gets or sets the set of command-line arguments to use when starting the application.

System_CAPS_pubpropertyCreateNoWindow

Gets or sets a value indicating whether to start the process in a new window.

System_CAPS_pubpropertyDomain

Gets or sets a value that identifies the domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

System_CAPS_pubpropertyEnvironment

Gets the environment variables that apply to this process and its child processes.

System_CAPS_pubpropertyEnvironmentVariables

Gets search paths for files, directories for temporary files, application-specific options, and other similar information.

System_CAPS_pubpropertyErrorDialog

Gets or sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.

System_CAPS_pubpropertyErrorDialogParentHandle

Gets or sets the window handle to use when an error dialog box is shown for a process that cannot be started.

System_CAPS_pubpropertyFileName

Gets or sets the application or document to start.

System_CAPS_pubpropertyLoadUserProfile

Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.

System_CAPS_pubpropertyPassword

Gets or sets a secure string that contains the user password to use when starting the process.

System_CAPS_pubpropertyPasswordInClearText

Gets or sets the user password in clear text to use when starting the process.

System_CAPS_pubpropertyRedirectStandardError

Gets or sets a value that indicates whether the error output of an application is written to the Process.StandardError stream.

System_CAPS_pubpropertyRedirectStandardInput

Gets or sets a value indicating whether the input for an application is read from the Process.StandardInput stream.

System_CAPS_pubpropertyRedirectStandardOutput

Gets or sets a value that indicates whether the textual output of an application is written to the Process.StandardOutput stream.

System_CAPS_pubpropertyStandardErrorEncoding

Gets or sets the preferred encoding for error output.

System_CAPS_pubpropertyStandardOutputEncoding

Gets or sets the preferred encoding for standard output.

System_CAPS_pubpropertyUserName

Gets or sets the user name to use when starting the process. If you use the UPN format, user@DNS_domain_name, the Domain property must be null.

System_CAPS_pubpropertyUseShellExecute

Gets or sets a value indicating whether to use the operating system shell to start the process.

System_CAPS_pubpropertyVerb

Gets or sets the verb to use when opening the application or document specified by the FileName property.

System_CAPS_pubpropertyVerbs

Gets the set of verbs associated with the type of file specified by the FileName property.

System_CAPS_pubpropertyWindowStyle

Gets or sets the window state to use when the process is started.

System_CAPS_pubpropertyWorkingDirectory

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.

Return to top
Show: