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

ProcessStartInfo Properties

The ProcessStartInfo type exposes the following members.

  NameDescription
Public property Arguments Gets or sets the set of command-line arguments to use when starting the application.
Public property CreateNoWindow Gets or sets a value indicating whether to start the process in a new window.
Public property Domain Gets or sets a value that identifies the domain to use when starting the process.
Public property EnvironmentVariables Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
Public property ErrorDialog Gets or sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.
Public property ErrorDialogParentHandle Gets or sets the window handle to use when an error dialog box is shown for a process that cannot be started.
Public property FileName Gets or sets the application or document to start.
Public property LoadUserProfile Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.
Public property Password Gets or sets a secure string that contains the user password to use when starting the process.
Public property RedirectStandardError Gets or sets a value that indicates whether the error output of an application is written to the Process.StandardError stream.
Public property RedirectStandardInput Gets or sets a value indicating whether the input for an application is read from the Process.StandardInput stream.
Public property RedirectStandardOutput Gets or sets a value that indicates whether the output of an application is written to the Process.StandardOutput stream.
Public property StandardErrorEncoding Gets or sets the preferred encoding for error output.
Public property StandardOutputEncoding Gets or sets the preferred encoding for standard output.
Public property UserName Gets or sets the user name to be used when starting the process.
Public property UseShellExecute Gets or sets a value indicating whether to use the operating system shell to start the process.
Public property Verb Gets or sets the verb to use when opening the application or document specified by the FileName property.
Public property Verbs Gets the set of verbs associated with the type of file specified by the FileName property.
Public property WindowStyle Gets or sets the window state to use when the process is started.
Public property 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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.