ProcessStartInfo Constructor ()

Initializes a new instance of the ProcessStartInfo class without specifying a file name with which to start the process.

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

public ProcessStartInfo ()
public ProcessStartInfo ()
public function ProcessStartInfo ()

You must set at least the FileName property before starting the process. The file name is any application or document. In this case, a document is defined to be any file type that has an open or default action associated with it. You can view registered file types and their associated applications for your computer using the Folder Options dialog available through the operating system. The Advanced button leads to a dialog that shows whether there is an open action associated with a specific registered file type.

Optionally, you can also set other properties before starting the process. The Verb property supplies actions to take, such as "print", with the file indicated in the FileName property. The Arguments property supplies a way to pass command line arguments to the file when the system opens it.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0

Community Additions