Mono Class Library: System.Diagnostics.ProcessStartInfo Overview | Members

System.Diagnostics.ProcessStartInfo.FileName Property

Get or set the path to the application to be executed. [Edit]

[System.ComponentModel.NotifyParentProperty(true)]
[System.Diagnostics.MonitoringDescription("The name of the resource to start this process.")]
[System.ComponentModel.TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Editor("System.Diagnostics.Design.StartFileNameEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.RecommendedAsConfigurable(true)]
public string FileName { set; get; }

Value

Path to the application to be executed. [Edit]

Remarks

The FileName property can specify either a relative or absolute path. When just the name of the executable is given without specifying the path to it, the operating system path resolution mechanism is used (for example, the PATH environment variable on Unix like operating systems). [Edit]

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0