using System; using System.ComponentModel; using System.IO; using System.Runtime.CompilerServices; using System.Threading; using Cpp2IlInjected; using Microsoft.Win32.SafeHandles; namespace System.Diagnostics { /// Provides access to local and remote processes and enables you to start and stop local system processes. // Token: 0x020000C5 RID: 197 [Token(Token = "0x20000C5")] [DefaultEvent("Exited")] [MonitoringDescription("Provides access to local and remote processes, enabling starting and stopping of local processes.")] [DefaultProperty("StartInfo")] [Designer("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public class Process : Component { /// Initializes a new instance of the class. // Token: 0x060004AB RID: 1195 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004AB")] [Address(RVA = "0x2F45540", Offset = "0x2F44540", VA = "0x182F45540")] public Process() { } // Token: 0x060004AC RID: 1196 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004AC")] [Address(RVA = "0x2F454A0", Offset = "0x2F444A0", VA = "0x182F454A0")] private Process(string machineName, bool isRemoteMachine, int processId, ProcessInfo processInfo) { } // Token: 0x170000A8 RID: 168 // (get) Token: 0x060004AD RID: 1197 RVA: 0x00003F00 File Offset: 0x00002100 [Token(Token = "0x170000A8")] [Browsable(false)] [MonitoringDescription("Indicates if the process component is associated with a real process.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] private bool Associated { [Token(Token = "0x60004AD")] [Address(RVA = "0x2F455B0", Offset = "0x2F445B0", VA = "0x182F455B0")] get { return default(bool); } } /// Gets a value indicating whether the associated process has been terminated. /// /// if the operating system process referenced by the component has terminated; otherwise, . /// There is no process associated with the object. /// The exit code for the process could not be retrieved. /// You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer. // Token: 0x170000A9 RID: 169 // (get) Token: 0x060004AE RID: 1198 RVA: 0x00003F18 File Offset: 0x00002118 [Token(Token = "0x170000A9")] [MonitoringDescription("Indicates if the associated process has been terminated.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool HasExited { [Token(Token = "0x60004AE")] [Address(RVA = "0x2F456A0", Offset = "0x2F446A0", VA = "0x182F456A0")] get { return default(bool); } } /// Gets the native handle of the associated process. /// The handle that the operating system assigned to the associated process when the process was started. The system uses this handle to keep track of process attributes. /// The process has not been started or has exited. The property cannot be read because there is no process associated with this instance. /// -or- /// The instance has been attached to a running process but you do not have the necessary permissions to get a handle with full access rights. /// You are trying to access the property for a process that is running on a remote computer. This property is available only for processes that are running on the local computer. // Token: 0x170000AA RID: 170 // (get) Token: 0x060004AF RID: 1199 RVA: 0x00003F30 File Offset: 0x00002130 [Token(Token = "0x170000AA")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MonitoringDescription("Returns the native handle for this process. The handle is only available if the process was started using this component.")] [Browsable(false)] public IntPtr Handle { [Token(Token = "0x60004AF")] [Address(RVA = "0x2F455C0", Offset = "0x2F445C0", VA = "0x182F455C0")] get { return 0; } } /// Gets the unique identifier for the associated process. /// The system-generated unique identifier of the process that is referenced by this instance. /// The process's property has not been set. /// -or- /// There is no process associated with this object. /// The platform is Windows 98 or Windows Millennium Edition (Windows Me); set the property to to access this property on Windows 98 and Windows Me. // Token: 0x170000AB RID: 171 // (get) Token: 0x060004B0 RID: 1200 RVA: 0x00003F48 File Offset: 0x00002148 [Token(Token = "0x170000AB")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MonitoringDescription("The unique identifier for the process.")] public int Id { [Token(Token = "0x60004B0")] [Address(RVA = "0x2F45960", Offset = "0x2F44960", VA = "0x182F45960")] get { return 0; } } /// Gets or sets the properties to pass to the method of the . /// The that represents the data with which to start the process. These arguments include the name of the executable file or document used to start the process. /// The value that specifies the is . // Token: 0x170000AC RID: 172 // (get) Token: 0x060004B1 RID: 1201 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x060004B2 RID: 1202 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170000AC")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [MonitoringDescription("Specifies information used to start a process.")] [Browsable(false)] public ProcessStartInfo StartInfo { [Token(Token = "0x60004B1")] [Address(RVA = "0x2F45DC0", Offset = "0x2F44DC0", VA = "0x182F45DC0")] get { return null; } [Token(Token = "0x60004B2")] [Address(RVA = "0x2F45F90", Offset = "0x2F44F90", VA = "0x182F45F90")] set { } } /// Gets or sets the object used to marshal the event handler calls that are issued as a result of a process exit event. /// The used to marshal event handler calls that are issued as a result of an event on the process. // Token: 0x170000AD RID: 173 // (get) Token: 0x060004B3 RID: 1203 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000AD")] [MonitoringDescription("The object used to marshal the event handler calls issued as a result of a Process exit.")] [DefaultValue(null)] [Browsable(false)] public ISynchronizeInvoke SynchronizingObject { [Token(Token = "0x60004B3")] [Address(RVA = "0x2F45E70", Offset = "0x2F44E70", VA = "0x182F45E70")] get { return null; } } /// Gets a stream used to write the input of the application. /// A that can be used to write the standard input stream of the application. /// The stream has not been defined because is set to . // Token: 0x170000AE RID: 174 // (get) Token: 0x060004B4 RID: 1204 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000AE")] [MonitoringDescription("Standard input stream of the process.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public StreamWriter StandardInput { [Token(Token = "0x60004B4")] [Address(RVA = "0x2F45C50", Offset = "0x2F44C50", VA = "0x182F45C50")] get { return null; } } /// Gets a stream used to read the textual output of the application. /// A that can be used to read the standard output stream of the application. /// The stream has not been defined for redirection; ensure is set to and is set to . /// -or- /// The stream has been opened for asynchronous read operations with . // Token: 0x170000AF RID: 175 // (get) Token: 0x060004B5 RID: 1205 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000AF")] [Browsable(false)] [MonitoringDescription("Standard output stream of the process.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public StreamReader StandardOutput { [Token(Token = "0x60004B5")] [Address(RVA = "0x2F45CE0", Offset = "0x2F44CE0", VA = "0x182F45CE0")] get { return null; } } /// Gets a stream used to read the error output of the application. /// A that can be used to read the standard error stream of the application. /// The stream has not been defined for redirection; ensure is set to and is set to . /// -or- /// The stream has been opened for asynchronous read operations with . // Token: 0x170000B0 RID: 176 // (get) Token: 0x060004B6 RID: 1206 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000B0")] [MonitoringDescription("Standard error stream of the process.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public StreamReader StandardError { [Token(Token = "0x60004B6")] [Address(RVA = "0x2F45B70", Offset = "0x2F44B70", VA = "0x182F45B70")] get { return null; } } // Token: 0x060004B7 RID: 1207 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004B7")] [Address(RVA = "0x2F43890", Offset = "0x2F42890", VA = "0x182F43890")] private void ReleaseProcessHandle(SafeProcessHandle handle) { } // Token: 0x060004B8 RID: 1208 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004B8")] [Address(RVA = "0x2F42570", Offset = "0x2F41570", VA = "0x182F42570")] private void CompletionCallback(object context, bool wasSignaled) { } /// Release all resources used by this process. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x060004B9 RID: 1209 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004B9")] [Address(RVA = "0x2F428A0", Offset = "0x2F418A0", VA = "0x182F428A0", Slot = "14")] protected override void Dispose(bool disposing) { } /// Frees all the resources that are associated with this component. // Token: 0x060004BA RID: 1210 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004BA")] [Address(RVA = "0x2F423D0", Offset = "0x2F413D0", VA = "0x182F423D0")] public void Close() { } // Token: 0x060004BB RID: 1211 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004BB")] [Address(RVA = "0x2F428F0", Offset = "0x2F418F0", VA = "0x182F428F0")] private void EnsureState(Process.State state) { } // Token: 0x060004BC RID: 1212 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004BC")] [Address(RVA = "0x2F42B10", Offset = "0x2F41B10", VA = "0x182F42B10")] private void EnsureWatchingForExit() { } /// Gets a new component and associates it with the currently active process. /// A new component associated with the process resource that is running the calling application. // Token: 0x060004BD RID: 1213 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004BD")] [Address(RVA = "0x2F42DD0", Offset = "0x2F41DD0", VA = "0x182F42DD0")] public static Process GetCurrentProcess() { return null; } /// Raises the event. // Token: 0x060004BE RID: 1214 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004BE")] [Address(RVA = "0x2F433C0", Offset = "0x2F423C0", VA = "0x182F433C0")] protected void OnExited() { } // Token: 0x060004BF RID: 1215 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004BF")] [Address(RVA = "0x2F42EA0", Offset = "0x2F41EA0", VA = "0x182F42EA0")] private SafeProcessHandle GetProcessHandle(int access, bool throwIfExited) { return null; } // Token: 0x060004C0 RID: 1216 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004C0")] [Address(RVA = "0x2F42E90", Offset = "0x2F41E90", VA = "0x182F42E90")] private SafeProcessHandle GetProcessHandle(int access) { return null; } // Token: 0x060004C1 RID: 1217 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004C1")] [Address(RVA = "0x2F43620", Offset = "0x2F42620", VA = "0x182F43620")] private SafeProcessHandle OpenProcessHandle(int access) { return null; } /// Discards any information about the associated process that has been cached inside the process component. // Token: 0x060004C2 RID: 1218 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004C2")] [Address(RVA = "0x2F43860", Offset = "0x2F42860", VA = "0x182F43860")] public void Refresh() { } // Token: 0x060004C3 RID: 1219 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004C3")] [Address(RVA = "0x2F438B0", Offset = "0x2F428B0", VA = "0x182F438B0")] private void SetProcessHandle(SafeProcessHandle processHandle) { } // Token: 0x060004C4 RID: 1220 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004C4")] [Address(RVA = "0x2F438D0", Offset = "0x2F428D0", VA = "0x182F438D0")] private void SetProcessId(int processId) { } /// Starts (or reuses) the process resource that is specified by the property of this component and associates it with the component. /// /// if a process resource is started; if no new process resource is started (for example, if an existing process is reused). /// No file name was specified in the component's . /// -or- /// The member of the property is while , , or is . /// There was an error in opening the associated file. /// The process object has already been disposed. /// Method not supported on operating systems without shell support such as Nano Server (.NET Core only). // Token: 0x060004C5 RID: 1221 RVA: 0x00003F60 File Offset: 0x00002160 [Token(Token = "0x60004C5")] [Address(RVA = "0x2F44EA0", Offset = "0x2F43EA0", VA = "0x182F44EA0")] public bool Start() { return default(bool); } /// Starts a process resource by specifying the name of an application and a set of command-line arguments, and associates the resource with a new component. /// The name of an application file to run in the process. /// Command-line arguments to pass when starting the process. /// A new that is associated with the process resource, or if no process resource is started. Note that a new process that's started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to . In this case, the started process may have activated an existing instance of itself and then exited. /// The or parameter is . /// An error occurred when opening the associated file. /// -or- /// The sum of the length of the arguments and the length of the full path to the process exceeds 2080. The error message associated with this exception can be one of the following: "The data area passed to a system call is too small." or "Access is denied." /// The process object has already been disposed. /// The PATH environment variable has a string containing quotes. // Token: 0x060004C6 RID: 1222 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004C6")] [Address(RVA = "0x2F44E30", Offset = "0x2F43E30", VA = "0x182F44E30")] public static Process Start(string fileName, string arguments) { return null; } /// Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new component. /// The that contains the information that is used to start the process, including the file name and any command-line arguments. /// A new that is associated with the process resource, or if no process resource is started. Note that a new process that's started alongside already running instances of the same process will be independent from the others. In addition, Start may return a non-null Process with its property already set to . In this case, the started process may have activated an existing instance of itself and then exited. /// No file name was specified in the parameter's property. /// -or- /// The property of the parameter is and the , , or property is also . /// -or- /// The property of the parameter is and the property is not or empty or the property is not . /// The parameter is . /// The process object has already been disposed. /// The file specified in the parameter's property could not be found. /// An error occurred when opening the associated file. /// -or- /// The sum of the length of the arguments and the length of the full path to the process exceeds 2080. The error message associated with this exception can be one of the following: "The data area passed to a system call is too small." or "Access is denied." /// Method not supported on operating systems without shell support such as Nano Server (.NET Core only). // Token: 0x060004C7 RID: 1223 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004C7")] [Address(RVA = "0x2F44BB0", Offset = "0x2F43BB0", VA = "0x182F44BB0")] public static Process Start(ProcessStartInfo startInfo) { return null; } /// Immediately stops the associated process. /// The associated process could not be terminated. /// -or- /// The process is terminating. /// -or- /// The associated process is a Win16 executable. /// You are attempting to call for a process that is running on a remote computer. The method is available only for processes running on the local computer. /// The process has already exited. /// -or- /// There is no process associated with this object. // Token: 0x060004C8 RID: 1224 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004C8")] [Address(RVA = "0x2F432D0", Offset = "0x2F422D0", VA = "0x182F432D0")] public void Kill() { } // Token: 0x060004C9 RID: 1225 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004C9")] [Address(RVA = "0x2F45030", Offset = "0x2F44030", VA = "0x182F45030")] private void StopWatchingForExit() { } /// Formats the process's name as a string, combined with the parent component type, if applicable. /// The , combined with the base component's return value. /// /// is not supported on Windows 98. // Token: 0x060004CA RID: 1226 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004CA")] [Address(RVA = "0x2F45120", Offset = "0x2F44120", VA = "0x182F45120", Slot = "3")] public override string ToString() { return null; } /// Instructs the component to wait the specified number of milliseconds for the associated process to exit. /// The amount of time, in milliseconds, to wait for the associated process to exit. The maximum is the largest possible value of a 32-bit integer, which represents infinity to the operating system. /// /// if the associated process has exited; otherwise, . /// The wait setting could not be accessed. /// No process has been set, and a from which the property can be determined does not exist. /// -or- /// There is no process associated with this object. /// -or- /// You are attempting to call for a process that is running on a remote computer. This method is available only for processes that are running on the local computer. /// /// is a negative number other than -1, which represents an infinite time-out. // Token: 0x060004CB RID: 1227 RVA: 0x00003F78 File Offset: 0x00002178 [Token(Token = "0x60004CB")] [Address(RVA = "0x2F45230", Offset = "0x2F44230", VA = "0x182F45230")] public bool WaitForExit(int milliseconds) { return default(bool); } /// Instructs the component to wait indefinitely for the associated process to exit. /// The wait setting could not be accessed. /// No process has been set, and a from which the property can be determined does not exist. /// -or- /// There is no process associated with this object. /// -or- /// You are attempting to call for a process that is running on a remote computer. This method is available only for processes that are running on the local computer. // Token: 0x060004CC RID: 1228 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004CC")] [Address(RVA = "0x2F45490", Offset = "0x2F44490", VA = "0x182F45490")] public void WaitForExit() { } // Token: 0x060004CD RID: 1229 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004CD")] [Address(RVA = "0x2F437A0", Offset = "0x2F427A0", VA = "0x182F437A0")] private static string ProcessName_internal(IntPtr handle) { return null; } // Token: 0x060004CE RID: 1230 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60004CE")] [Address(RVA = "0x2F436F0", Offset = "0x2F426F0", VA = "0x182F436F0")] private static string ProcessName_internal(SafeProcessHandle handle) { return null; } /// Gets the name of the process. /// The name that the system uses to identify the process to the user. /// The process does not have an identifier, or no process is associated with the . /// -or- /// The associated process has exited. /// The platform is Windows 98 or Windows Millennium Edition (Windows Me); set to to access this property on Windows 98 and Windows Me. /// The process is not on this computer. // Token: 0x170000B1 RID: 177 // (get) Token: 0x060004CF RID: 1231 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000B1")] [MonitoringDescription("The name of this process.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string ProcessName { [Token(Token = "0x60004CF")] [Address(RVA = "0x2F459C0", Offset = "0x2F449C0", VA = "0x182F459C0")] get { return null; } } // Token: 0x060004D0 RID: 1232 RVA: 0x00003F90 File Offset: 0x00002190 [Token(Token = "0x60004D0")] [Address(RVA = "0xB53DD0", Offset = "0xB52DD0", VA = "0x180B53DD0")] private static bool ShellExecuteEx_internal(ProcessStartInfo startInfo, ref Process.ProcInfo procInfo) { return default(bool); } // Token: 0x060004D1 RID: 1233 RVA: 0x00003FA8 File Offset: 0x000021A8 [Token(Token = "0x60004D1")] [Address(RVA = "0xB53DD0", Offset = "0xB52DD0", VA = "0x180B53DD0")] private static bool CreateProcess_internal(ProcessStartInfo startInfo, IntPtr stdin, IntPtr stdout, IntPtr stderr, ref Process.ProcInfo procInfo) { return default(bool); } // Token: 0x060004D2 RID: 1234 RVA: 0x00003FC0 File Offset: 0x000021C0 [Token(Token = "0x60004D2")] [Address(RVA = "0x2F44790", Offset = "0x2F43790", VA = "0x182F44790")] private bool StartWithShellExecuteEx(ProcessStartInfo startInfo) { return default(bool); } // Token: 0x060004D3 RID: 1235 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004D3")] [Address(RVA = "0x2F42590", Offset = "0x2F41590", VA = "0x182F42590")] private static void CreatePipe(out IntPtr read, out IntPtr write, bool writeDirection) { } // Token: 0x170000B2 RID: 178 // (get) Token: 0x060004D4 RID: 1236 RVA: 0x00003FD8 File Offset: 0x000021D8 [Token(Token = "0x170000B2")] private static bool IsWindows { [Token(Token = "0x60004D4")] [Address(RVA = "0x2F45980", Offset = "0x2F44980", VA = "0x182F45980")] get { return default(bool); } } // Token: 0x060004D5 RID: 1237 RVA: 0x00003FF0 File Offset: 0x000021F0 [Token(Token = "0x60004D5")] [Address(RVA = "0x2F438E0", Offset = "0x2F428E0", VA = "0x182F438E0")] private bool StartWithCreateProcess(ProcessStartInfo startInfo) { return default(bool); } // Token: 0x060004D6 RID: 1238 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004D6")] [Address(RVA = "0x2F42C70", Offset = "0x2F41C70", VA = "0x182F42C70")] private static void FillUserInfo(ProcessStartInfo startInfo, ref Process.ProcInfo procInfo) { } // Token: 0x060004D7 RID: 1239 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60004D7")] [Address(RVA = "0x2F437B0", Offset = "0x2F427B0", VA = "0x182F437B0")] private void RaiseOnExited() { } // Token: 0x04000395 RID: 917 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000395")] private bool haveProcessId; // Token: 0x04000396 RID: 918 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000396")] private int processId; // Token: 0x04000397 RID: 919 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000397")] private bool haveProcessHandle; // Token: 0x04000398 RID: 920 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4000398")] private SafeProcessHandle m_processHandle; // Token: 0x04000399 RID: 921 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000399")] private bool isRemoteMachine; // Token: 0x0400039A RID: 922 [FieldOffset(Offset = "0x48")] [Token(Token = "0x400039A")] private string machineName; // Token: 0x0400039B RID: 923 [FieldOffset(Offset = "0x50")] [Token(Token = "0x400039B")] private int m_processAccess; // Token: 0x0400039C RID: 924 [FieldOffset(Offset = "0x58")] [Token(Token = "0x400039C")] private ProcessThreadCollection threads; // Token: 0x0400039D RID: 925 [FieldOffset(Offset = "0x60")] [Token(Token = "0x400039D")] private ProcessModuleCollection modules; // Token: 0x0400039E RID: 926 [FieldOffset(Offset = "0x68")] [Token(Token = "0x400039E")] private bool haveWorkingSetLimits; // Token: 0x0400039F RID: 927 [FieldOffset(Offset = "0x70")] [Token(Token = "0x400039F")] private IntPtr minWorkingSet; // Token: 0x040003A0 RID: 928 [FieldOffset(Offset = "0x78")] [Token(Token = "0x40003A0")] private IntPtr maxWorkingSet; // Token: 0x040003A1 RID: 929 [FieldOffset(Offset = "0x80")] [Token(Token = "0x40003A1")] private bool havePriorityClass; // Token: 0x040003A2 RID: 930 [FieldOffset(Offset = "0x84")] [Token(Token = "0x40003A2")] private ProcessPriorityClass priorityClass; // Token: 0x040003A3 RID: 931 [FieldOffset(Offset = "0x88")] [Token(Token = "0x40003A3")] private ProcessStartInfo startInfo; // Token: 0x040003A4 RID: 932 [FieldOffset(Offset = "0x90")] [Token(Token = "0x40003A4")] private bool watchForExit; // Token: 0x040003A5 RID: 933 [FieldOffset(Offset = "0x91")] [Token(Token = "0x40003A5")] private bool watchingForExit; // Token: 0x040003A6 RID: 934 [FieldOffset(Offset = "0x98")] [Token(Token = "0x40003A6")] private EventHandler onExited; // Token: 0x040003A7 RID: 935 [FieldOffset(Offset = "0xA0")] [Token(Token = "0x40003A7")] private bool exited; // Token: 0x040003A8 RID: 936 [FieldOffset(Offset = "0xA4")] [Token(Token = "0x40003A8")] private int exitCode; // Token: 0x040003A9 RID: 937 [FieldOffset(Offset = "0xA8")] [Token(Token = "0x40003A9")] private bool signaled; // Token: 0x040003AA RID: 938 [FieldOffset(Offset = "0xB0")] [Token(Token = "0x40003AA")] private DateTime exitTime; // Token: 0x040003AB RID: 939 [FieldOffset(Offset = "0xB8")] [Token(Token = "0x40003AB")] private bool haveExitTime; // Token: 0x040003AC RID: 940 [FieldOffset(Offset = "0xB9")] [Token(Token = "0x40003AC")] private bool raisedOnExited; // Token: 0x040003AD RID: 941 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x40003AD")] private RegisteredWaitHandle registeredWaitHandle; // Token: 0x040003AE RID: 942 [FieldOffset(Offset = "0xC8")] [Token(Token = "0x40003AE")] private WaitHandle waitHandle; // Token: 0x040003AF RID: 943 [FieldOffset(Offset = "0xD0")] [Token(Token = "0x40003AF")] private ISynchronizeInvoke synchronizingObject; // Token: 0x040003B0 RID: 944 [FieldOffset(Offset = "0xD8")] [Token(Token = "0x40003B0")] private StreamReader standardOutput; // Token: 0x040003B1 RID: 945 [FieldOffset(Offset = "0xE0")] [Token(Token = "0x40003B1")] private StreamWriter standardInput; // Token: 0x040003B2 RID: 946 [FieldOffset(Offset = "0xE8")] [Token(Token = "0x40003B2")] private StreamReader standardError; // Token: 0x040003B3 RID: 947 [FieldOffset(Offset = "0xF0")] [Token(Token = "0x40003B3")] private OperatingSystem operatingSystem; // Token: 0x040003B4 RID: 948 [FieldOffset(Offset = "0xF8")] [Token(Token = "0x40003B4")] private bool disposed; // Token: 0x040003B5 RID: 949 [FieldOffset(Offset = "0xFC")] [Token(Token = "0x40003B5")] private Process.StreamReadMode outputStreamReadMode; // Token: 0x040003B6 RID: 950 [FieldOffset(Offset = "0x100")] [Token(Token = "0x40003B6")] private Process.StreamReadMode errorStreamReadMode; // Token: 0x040003B7 RID: 951 [FieldOffset(Offset = "0x104")] [Token(Token = "0x40003B7")] private Process.StreamReadMode inputStreamReadMode; // Token: 0x040003B8 RID: 952 [FieldOffset(Offset = "0x108")] [Token(Token = "0x40003B8")] [CompilerGenerated] private DataReceivedEventHandler OutputDataReceived; // Token: 0x040003B9 RID: 953 [FieldOffset(Offset = "0x110")] [Token(Token = "0x40003B9")] [CompilerGenerated] private DataReceivedEventHandler ErrorDataReceived; // Token: 0x040003BA RID: 954 [FieldOffset(Offset = "0x118")] [Token(Token = "0x40003BA")] internal AsyncStreamReader output; // Token: 0x040003BB RID: 955 [FieldOffset(Offset = "0x120")] [Token(Token = "0x40003BB")] internal AsyncStreamReader error; // Token: 0x040003BC RID: 956 [FieldOffset(Offset = "0x128")] [Token(Token = "0x40003BC")] internal bool pendingOutputRead; // Token: 0x040003BD RID: 957 [FieldOffset(Offset = "0x129")] [Token(Token = "0x40003BD")] internal bool pendingErrorRead; // Token: 0x040003BE RID: 958 [Token(Token = "0x40003BE")] internal static TraceSwitch processTracing; // Token: 0x040003BF RID: 959 [FieldOffset(Offset = "0x130")] [Token(Token = "0x40003BF")] private string process_name; // Token: 0x040003C0 RID: 960 [Token(Token = "0x40003C0")] private static ProcessModule current_main_module; // Token: 0x020000C6 RID: 198 [Token(Token = "0x20000C6")] private enum StreamReadMode { // Token: 0x040003C2 RID: 962 [Token(Token = "0x40003C2")] undefined, // Token: 0x040003C3 RID: 963 [Token(Token = "0x40003C3")] syncMode, // Token: 0x040003C4 RID: 964 [Token(Token = "0x40003C4")] asyncMode } // Token: 0x020000C7 RID: 199 [Token(Token = "0x20000C7")] private enum State { // Token: 0x040003C6 RID: 966 [Token(Token = "0x40003C6")] HaveId = 1, // Token: 0x040003C7 RID: 967 [Token(Token = "0x40003C7")] IsLocal, // Token: 0x040003C8 RID: 968 [Token(Token = "0x40003C8")] IsNt = 4, // Token: 0x040003C9 RID: 969 [Token(Token = "0x40003C9")] HaveProcessInfo = 8, // Token: 0x040003CA RID: 970 [Token(Token = "0x40003CA")] Exited = 16, // Token: 0x040003CB RID: 971 [Token(Token = "0x40003CB")] Associated = 32, // Token: 0x040003CC RID: 972 [Token(Token = "0x40003CC")] IsWin2k = 64, // Token: 0x040003CD RID: 973 [Token(Token = "0x40003CD")] HaveNtProcessInfo = 12 } // Token: 0x020000C8 RID: 200 [Token(Token = "0x20000C8")] private struct ProcInfo { // Token: 0x040003CE RID: 974 [FieldOffset(Offset = "0x0")] [Token(Token = "0x40003CE")] public IntPtr process_handle; // Token: 0x040003CF RID: 975 [FieldOffset(Offset = "0x8")] [Token(Token = "0x40003CF")] public int pid; // Token: 0x040003D0 RID: 976 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40003D0")] public string[] envVariables; // Token: 0x040003D1 RID: 977 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40003D1")] public string UserName; // Token: 0x040003D2 RID: 978 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40003D2")] public string Domain; // Token: 0x040003D3 RID: 979 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40003D3")] public IntPtr Password; // Token: 0x040003D4 RID: 980 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40003D4")] public bool LoadUserProfile; } } }