using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using Cpp2IlInjected;
namespace System.Diagnostics
{
/// Specifies a set of values that are used when you start a process.
// Token: 0x020000CB RID: 203
[Token(Token = "0x20000CB")]
[TypeConverter]
[StructLayout(0)]
public sealed class ProcessStartInfo
{
/// Initializes a new instance of the class without specifying a file name with which to start the process.
// Token: 0x060004D8 RID: 1240 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004D8")]
[Address(RVA = "0x2F41C50", Offset = "0x2F40C50", VA = "0x182F41C50")]
public ProcessStartInfo()
{
}
// Token: 0x060004D9 RID: 1241 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004D9")]
[Address(RVA = "0x2F41CA0", Offset = "0x2F40CA0", VA = "0x182F41CA0")]
internal ProcessStartInfo(Process parent)
{
}
/// Initializes a new instance of the class, specifies an application file name with which to start the process, and specifies a set of command-line arguments to pass to the application.
/// An application with which to start a process.
/// Command-line arguments to pass to the application when the process starts.
// Token: 0x060004DA RID: 1242 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60004DA")]
[Address(RVA = "0x2F41C60", Offset = "0x2F40C60", VA = "0x182F41C60")]
public ProcessStartInfo(string fileName, string arguments)
{
}
/// Gets or sets the verb to use when opening the application or document specified by the property.
/// The action to take with the file that the process opens. The default is an empty string (""), which signifies no action.
// Token: 0x170000B3 RID: 179
// (set) Token: 0x060004DB RID: 1243 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B3")]
[TypeConverter]
[NotifyParentProperty(true)]
[TypeConverter("System.Diagnostics.Design.VerbConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultValue("")]
[MonitoringDescription("The verb to apply to the document specified by the FileName property.")]
public string Verb
{
[Token(Token = "0x60004DB")]
[Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")]
set
{
}
}
/// Gets or sets the set of command-line arguments to use when starting the application.
/// A single string containing the arguments to pass to the target application specified in the property. The default is an empty string (""). On Windows Vista and earlier versions of the Windows operating system, the length of the arguments added to the length of the full path to the process must be less than 2080. On Windows 7 and later versions, the length must be less than 32699.
/// Arguments are parsed and interpreted by the target application, so must align with the expectations of that application. For.NET applications as demonstrated in the Examples below, spaces are interpreted as a separator between multiple arguments. A single argument that includes spaces must be surrounded by quotation marks, but those quotation marks are not carried through to the target application. In include quotation marks in the final parsed argument, triple-escape each mark.
// Token: 0x170000B4 RID: 180
// (get) Token: 0x060004DC RID: 1244 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060004DD RID: 1245 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B4")]
[TypeConverter]
[TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[NotifyParentProperty(true)]
[SettingsBindable(true)]
[MonitoringDescription("Command line arguments that will be passed to the application specified by the FileName property.")]
[DefaultValue("")]
public string Arguments
{
[Token(Token = "0x60004DC")]
[Address(RVA = "0x2F41D20", Offset = "0x2F40D20", VA = "0x182F41D20")]
get
{
return null;
}
[Token(Token = "0x60004DD")]
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
set
{
}
}
/// Gets or sets a value indicating whether to start the process in a new window.
///
/// if the process should be started without creating a new window to contain it; otherwise, . The default is .
// Token: 0x170000B5 RID: 181
// (set) Token: 0x060004DE RID: 1246 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B5")]
[MonitoringDescription("Whether to start the process without creating a new window to contain it.")]
[DefaultValue(false)]
[NotifyParentProperty(true)]
public bool CreateNoWindow
{
[Token(Token = "0x60004DE")]
[Address(RVA = "0xCDDC60", Offset = "0xCDCC60", VA = "0x180CDDC60")]
set
{
}
}
/// Gets search paths for files, directories for temporary files, application-specific options, and other similar information.
/// A string dictionary that provides environment variables that apply to this process and child processes. The default is .
// Token: 0x170000B6 RID: 182
// (get) Token: 0x060004DF RID: 1247 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000B6")]
[Editor]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Editor("System.Diagnostics.Design.StringDictionaryEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[NotifyParentProperty(true)]
[MonitoringDescription("Set of environment variables that apply to this process and child processes.")]
[DefaultValue(null)]
public StringDictionary EnvironmentVariables
{
[Token(Token = "0x60004DF")]
[Address(RVA = "0x2F41DC0", Offset = "0x2F40DC0", VA = "0x182F41DC0")]
get
{
return null;
}
}
/// Gets or sets a value indicating whether the input for an application is read from the stream.
///
/// if input should be read from ; otherwise, . The default is .
// Token: 0x170000B7 RID: 183
// (get) Token: 0x060004E0 RID: 1248 RVA: 0x00004008 File Offset: 0x00002208
// (set) Token: 0x060004E1 RID: 1249 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B7")]
[MonitoringDescription("Whether the process command input is read from the Process instance's StandardInput member.")]
[DefaultValue(false)]
[NotifyParentProperty(true)]
public bool RedirectStandardInput
{
[Token(Token = "0x60004E0")]
[Address(RVA = "0x5A9FA0", Offset = "0x5A8FA0", VA = "0x1805A9FA0")]
get
{
return default(bool);
}
[Token(Token = "0x60004E1")]
[Address(RVA = "0x4B55A0", Offset = "0x4B45A0", VA = "0x1804B55A0")]
set
{
}
}
/// Gets or sets a value that indicates whether the textual output of an application is written to the stream.
///
/// if output should be written to ; otherwise, . The default is .
// Token: 0x170000B8 RID: 184
// (get) Token: 0x060004E2 RID: 1250 RVA: 0x00004020 File Offset: 0x00002220
// (set) Token: 0x060004E3 RID: 1251 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B8")]
[MonitoringDescription("Whether the process output is written to the Process instance's StandardOutput member.")]
[NotifyParentProperty(true)]
[DefaultValue(false)]
public bool RedirectStandardOutput
{
[Token(Token = "0x60004E2")]
[Address(RVA = "0x4B5000", Offset = "0x4B4000", VA = "0x1804B5000")]
get
{
return default(bool);
}
[Token(Token = "0x60004E3")]
[Address(RVA = "0x4B5380", Offset = "0x4B4380", VA = "0x1804B5380")]
set
{
}
}
/// Gets or sets a value that indicates whether the error output of an application is written to the stream.
///
/// if error output should be written to ; otherwise, . The default is .
// Token: 0x170000B9 RID: 185
// (get) Token: 0x060004E4 RID: 1252 RVA: 0x00004038 File Offset: 0x00002238
// (set) Token: 0x060004E5 RID: 1253 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000B9")]
[DefaultValue(false)]
[MonitoringDescription("Whether the process's error output is written to the Process instance's StandardError member.")]
[NotifyParentProperty(true)]
public bool RedirectStandardError
{
[Token(Token = "0x60004E4")]
[Address(RVA = "0x692A10", Offset = "0x691A10", VA = "0x180692A10")]
get
{
return default(bool);
}
[Token(Token = "0x60004E5")]
[Address(RVA = "0x692A90", Offset = "0x691A90", VA = "0x180692A90")]
set
{
}
}
/// Gets or sets the preferred encoding for error output.
/// An object that represents the preferred encoding for error output. The default is .
// Token: 0x170000BA RID: 186
// (get) Token: 0x060004E6 RID: 1254 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000BA")]
public Encoding StandardErrorEncoding
{
[Token(Token = "0x60004E6")]
[Address(RVA = "0x4177C0", Offset = "0x4167C0", VA = "0x1804177C0")]
get
{
return null;
}
}
/// Gets or sets the preferred encoding for standard output.
/// An object that represents the preferred encoding for standard output. The default is .
// Token: 0x170000BB RID: 187
// (get) Token: 0x060004E7 RID: 1255 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000BB")]
public Encoding StandardOutputEncoding
{
[Token(Token = "0x60004E7")]
[Address(RVA = "0x493640", Offset = "0x492640", VA = "0x180493640")]
get
{
return null;
}
}
/// Gets or sets a value indicating whether to use the operating system shell to start the process.
///
/// if the shell should be used when starting the process; if the process should be created directly from the executable file. The default is on .NET Framework apps and on .NET Core apps.
/// An attempt to set the value to on Universal Windows Platform (UWP) apps occurs.
// Token: 0x170000BC RID: 188
// (get) Token: 0x060004E8 RID: 1256 RVA: 0x00004050 File Offset: 0x00002250
// (set) Token: 0x060004E9 RID: 1257 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000BC")]
[DefaultValue(true)]
[NotifyParentProperty(true)]
[MonitoringDescription("Whether to use the operating system shell to start the process.")]
public bool UseShellExecute
{
[Token(Token = "0x60004E8")]
[Address(RVA = "0x41CF00", Offset = "0x41BF00", VA = "0x18041CF00")]
get
{
return default(bool);
}
[Token(Token = "0x60004E9")]
[Address(RVA = "0x41D000", Offset = "0x41C000", VA = "0x18041D000")]
set
{
}
}
/// Gets or sets the user name to use when starting the process. If you use the UPN format, @, the property must be .
/// The user name to use when starting the process. If you use the UPN format, @, the property must be .
// Token: 0x170000BD RID: 189
// (get) Token: 0x060004EA RID: 1258 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000BD")]
[NotifyParentProperty(true)]
public string UserName
{
[Token(Token = "0x60004EA")]
[Address(RVA = "0x2F421B0", Offset = "0x2F411B0", VA = "0x182F421B0")]
get
{
return null;
}
}
/// Gets or sets a secure string that contains the user password to use when starting the process.
/// The user password to use when starting the process.
// Token: 0x170000BE RID: 190
// (get) Token: 0x060004EB RID: 1259 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000BE")]
public SecureString Password
{
[Token(Token = "0x60004EB")]
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710")]
get
{
return null;
}
}
/// Gets or sets a value that identifies the domain to use when starting the process. If this value is , the property must be specified in UPN format.
/// The Active Directory domain to use when starting the process. If this value is , the property must be specified in UPN format.
// Token: 0x170000BF RID: 191
// (get) Token: 0x060004EC RID: 1260 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000BF")]
[NotifyParentProperty(true)]
public string Domain
{
[Token(Token = "0x60004EC")]
[Address(RVA = "0x2F41D70", Offset = "0x2F40D70", VA = "0x182F41D70")]
get
{
return null;
}
}
/// Gets or sets a value that indicates whether the Windows user profile is to be loaded from the registry.
///
/// if the Windows user profile should be loaded; otherwise, . The default is .
// Token: 0x170000C0 RID: 192
// (get) Token: 0x060004ED RID: 1261 RVA: 0x00004068 File Offset: 0x00002268
[Token(Token = "0x170000C0")]
[NotifyParentProperty(true)]
public bool LoadUserProfile
{
[Token(Token = "0x60004ED")]
[Address(RVA = "0x4B4FC0", Offset = "0x4B3FC0", VA = "0x1804B4FC0")]
get
{
return default(bool);
}
}
/// Gets or sets the application or document to start.
/// The name of the application to start, or the name of a document of a file type that is associated with an application and that has a default open action available to it. The default is an empty string ("").
// Token: 0x170000C1 RID: 193
// (get) Token: 0x060004EE RID: 1262 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060004EF RID: 1263 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000C1")]
[TypeConverter]
[Editor]
[NotifyParentProperty(true)]
[MonitoringDescription("The name of the application, document or URL to start.")]
[SettingsBindable(true)]
[DefaultValue("")]
[TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Editor("System.Diagnostics.Design.StartFileNameEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string FileName
{
[Token(Token = "0x60004EE")]
[Address(RVA = "0x2F42150", Offset = "0x2F41150", VA = "0x182F42150")]
get
{
return null;
}
[Token(Token = "0x60004EF")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set
{
}
}
/// When the property is , gets or sets the working directory for the process to be started. When is , gets or sets the directory that contains the process to be started.
/// When is , the fully qualified name of the directory that contains the process to be started. When the property is , the working directory for the process to be started. The default is an empty string ("").
// Token: 0x170000C2 RID: 194
// (get) Token: 0x060004F0 RID: 1264 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000C2")]
[TypeConverter]
[Editor]
[MonitoringDescription("The initial working directory for the process.")]
[SettingsBindable(true)]
[DefaultValue("")]
[TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[NotifyParentProperty(true)]
[Editor("System.Diagnostics.Design.WorkingDirectoryEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string WorkingDirectory
{
[Token(Token = "0x60004F0")]
[Address(RVA = "0x2F42200", Offset = "0x2F41200", VA = "0x182F42200")]
get
{
return null;
}
}
// Token: 0x170000C3 RID: 195
// (get) Token: 0x060004F1 RID: 1265 RVA: 0x00004080 File Offset: 0x00002280
[Token(Token = "0x170000C3")]
internal bool HaveEnvVars
{
[Token(Token = "0x60004F1")]
[Address(RVA = "0x2F421A0", Offset = "0x2F411A0", VA = "0x182F421A0")]
get
{
return default(bool);
}
}
// Token: 0x040003D5 RID: 981
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40003D5")]
private string fileName;
// Token: 0x040003D6 RID: 982
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40003D6")]
private string arguments;
// Token: 0x040003D7 RID: 983
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40003D7")]
private string directory;
// Token: 0x040003D8 RID: 984
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x40003D8")]
private string verb;
// Token: 0x040003D9 RID: 985
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x40003D9")]
private ProcessWindowStyle windowStyle;
// Token: 0x040003DA RID: 986
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x40003DA")]
private bool errorDialog;
// Token: 0x040003DB RID: 987
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40003DB")]
private IntPtr errorDialogParentHandle;
// Token: 0x040003DC RID: 988
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40003DC")]
private bool useShellExecute;
// Token: 0x040003DD RID: 989
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x40003DD")]
private string userName;
// Token: 0x040003DE RID: 990
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x40003DE")]
private string domain;
// Token: 0x040003DF RID: 991
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x40003DF")]
private SecureString password;
// Token: 0x040003E0 RID: 992
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x40003E0")]
private string passwordInClearText;
// Token: 0x040003E1 RID: 993
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x40003E1")]
private bool loadUserProfile;
// Token: 0x040003E2 RID: 994
[global::Cpp2IlInjected.FieldOffset(Offset = "0x69")]
[Token(Token = "0x40003E2")]
private bool redirectStandardInput;
// Token: 0x040003E3 RID: 995
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6A")]
[Token(Token = "0x40003E3")]
private bool redirectStandardOutput;
// Token: 0x040003E4 RID: 996
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6B")]
[Token(Token = "0x40003E4")]
private bool redirectStandardError;
// Token: 0x040003E5 RID: 997
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x40003E5")]
private Encoding standardOutputEncoding;
// Token: 0x040003E6 RID: 998
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x40003E6")]
private Encoding standardErrorEncoding;
// Token: 0x040003E7 RID: 999
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x40003E7")]
private bool createNoWindow;
// Token: 0x040003E8 RID: 1000
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x40003E8")]
private WeakReference weakParentProcess;
// Token: 0x040003E9 RID: 1001
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
[Token(Token = "0x40003E9")]
internal StringDictionary environmentVariables;
// Token: 0x040003EA RID: 1002
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
[Token(Token = "0x40003EA")]
private IDictionary environment;
// Token: 0x040003EB RID: 1003
[Token(Token = "0x40003EB")]
private static readonly string[] empty;
}
}