Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ProcessStartInfo Properties

The properties of the ProcessStartInfo class are listed here. For a complete list of ProcessStartInfo class members, see the ProcessStartInfo Members topic.

Public Properties

public propertyArguments Gets or sets the set of command line arguments to use when starting the application.
public propertyCreateNoWindow Gets or sets a value indicating whether to start the process in a new window.
public propertyEnvironmentVariables Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
public propertyErrorDialog Gets or sets a value indicating whether an error dialog is displayed to the user if the process cannot be started.
public propertyErrorDialogParentHandle Gets or sets the window handle to use when an error dialog is shown for a process that cannot be started.
public propertyFileName Gets or sets the application or document to start.
public propertyRedirectStandardError 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.
public propertyRedirectStandardInput 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.
public propertyRedirectStandardOutput 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.
public propertyUseShellExecute Gets or sets a value indicating whether to use the operating system shell to start the process.
public propertyVerb Gets or sets the verb to use when opening the application or document specified by the FileName property.
public propertyVerbs Gets the set of verbs associated with the type of file specified by the FileName property.
public propertyWindowStyle Gets or sets the window state to use when the process is started.
public propertyWorkingDirectory Gets or sets the initial directory for the process to be started.

See Also

ProcessStartInfo Class | System.Diagnostics Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.