.NET Framework Class Library
ProcessStartInfo Properties

The ProcessStartInfo type exposes the following members.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkArgumentsGets or sets the set of command-line arguments to use when starting the application.
Public propertyCreateNoWindowGets or sets a value indicating whether to start the process in a new window.
Public propertyDomainGets or sets a value that identifies the domain to use when starting the process.
Public propertyEnvironmentVariablesGets search paths for files, directories for temporary files, application-specific options, and other similar information.
Public propertyErrorDialogGets or sets a value indicating whether an error dialog box is displayed to the user if the process cannot be started.
Public propertyErrorDialogParentHandleGets or sets the window handle to use when an error dialog box is shown for a process that cannot be started.
Public propertySupported by the .NET Compact FrameworkFileNameGets or sets the application or document to start.
Public propertyLoadUserProfileGets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.
Public propertyPasswordGets or sets a secure string that contains the user password to use when starting the process.
Public propertyRedirectStandardErrorGets or sets a value that indicates whether the error output of an application is written to the Process..::.StandardError stream.
Public propertyRedirectStandardInputGets or sets a value indicating whether the input for an application is read from the Process..::.StandardInput stream.
Public propertyRedirectStandardOutputGets or sets a value that indicates whether the output of an application is written to the Process..::.StandardOutput stream.
Public propertyStandardErrorEncodingGets or sets the preferred encoding for error output.
Public propertyStandardOutputEncodingGets or sets the preferred encoding for standard output.
Public propertyUserNameGets or sets the user name to be used when starting the process.
Public propertySupported by the .NET Compact FrameworkUseShellExecuteGets or sets a value indicating whether to use the operating system shell to start the process.
Public propertySupported by the .NET Compact FrameworkVerbGets or sets the verb to use when opening the application or document specified by the FileName property.
Public propertyVerbsGets the set of verbs associated with the type of file specified by the FileName property.
Public propertyWindowStyleGets or sets the window state to use when the process is started.
Public propertySupported by the .NET Compact FrameworkWorkingDirectoryGets or sets the initial directory for the process to be started.
Top
See Also

Reference

Tags :


Page view tracker