15 [global::System.ComponentModel.DefaultEvent(
"Exited")]
16 [
MonitoringDescription(
"Provides access to local and remote processes, enabling starting and stopping of local processes.")]
17 [global::System.ComponentModel.DefaultProperty(
"StartInfo")]
46 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
48 [global::System.ComponentModel.Browsable(
false)]
59 [global::System.ComponentModel.Browsable(
false)]
61 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
82 [global::System.ComponentModel.Browsable(
false)]
83 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
84 [
MonitoringDescription(
"Returns the native handle for this process. The handle is only available if the process was started using this component.")]
97 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
111 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
129 processHandle.
Close();
143 [global::System.ComponentModel.Browsable(
false)]
144 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
174 while (
value ==
null)
183 [global::System.ComponentModel.DefaultValue(
null)]
184 [
MonitoringDescription(
"The object used to marshal the event handler calls issued as a result of a Process exit.")]
185 [global::System.ComponentModel.Browsable(
false)]
199 if (
this !=
null &&
this !=
null)
220 [global::System.ComponentModel.Browsable(
false)]
222 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
254 [global::System.ComponentModel.Browsable(
false)]
255 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
319 base.Dispose(disposing);
352 if (asyncStreamReader !=
null)
358 if (asyncStreamReader2 !=
null)
443 if (eventHandler ==
null)
466 if (num == 0
L &&
num2 == 0)
542 if (processStartInfo.
fileName ==
null)
563 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
592 if (processName._stringLength != 0)
599 return base.ToString();
625 processHandle.
Close();
642 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
656 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
683 bool flag =
text.EndsWith(
".exe");
687 bool flag3 = text2.EndsWith(
".com");
700 processHandle.
Close();
715 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
721 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
727 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
768 throw new global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method.");
775 if (userName ==
null)
778 if (userName ==
null)
785 if (password !=
null)
class f__AnonymousType0<< Count > j__TPar
static IntPtr GetCurrentProcess()
static bool GetExitCodeProcess(IntPtr processHandle, [Out] int exitCode)
ManualResetEvent eofEvent
static bool CreateProcess_internal(ProcessStartInfo startInfo, IntPtr stdin, IntPtr stdout, IntPtr stderr, Process.ProcInfo procInfo)
void CompletionCallback(object context, bool wasSignaled)
static void FillUserInfo(ProcessStartInfo startInfo, Process.ProcInfo procInfo)
static void CreatePipe([Out] IntPtr read, [Out] IntPtr write, bool writeDirection)
void EnsureWatchingForExit()
ProcessStartInfo StartInfo
void ReleaseProcessHandle(Microsoft.Win32.SafeHandles.SafeProcessHandle handle)
ProcessPriorityClass priorityClass
Microsoft.Win32.SafeHandles.SafeProcessHandle OpenProcessHandle(int access)
Microsoft.Win32.SafeHandles.SafeProcessHandle GetProcessHandle(int access)
Process.StreamReadMode inputStreamReadMode
Microsoft.Win32.SafeHandles.SafeProcessHandle m_processHandle
Process(string machineName, bool isRemoteMachine, int processId, ProcessInfo processInfo)
ProcessStartInfo startInfo
static Process Start(ProcessStartInfo startInfo)
bool haveWorkingSetLimits
bool WaitForExit(int milliseconds)
ProcessModuleCollection modules
StreamReader standardOutput
static bool ShellExecuteEx_internal(ProcessStartInfo startInfo, Process.ProcInfo procInfo)
StreamWriter StandardInput
StreamReader StandardOutput
void StopWatchingForExit()
Microsoft.Win32.SafeHandles.SafeProcessHandle GetProcessHandle(int access, bool throwIfExited)
global::System.ComponentModel.ISynchronizeInvoke SynchronizingObject
static string ProcessName_icall(IntPtr handle)
ProcessThreadCollection threads
static string ProcessName_internal(Microsoft.Win32.SafeHandles.SafeProcessHandle handle)
void SetProcessHandle(Microsoft.Win32.SafeHandles.SafeProcessHandle processHandle)
StreamWriter standardInput
override void Dispose(bool disposing)
void EnsureState(Process.State state)
Process.StreamReadMode outputStreamReadMode
static Process Start(string fileName)
global::System.ComponentModel.ISynchronizeInvoke synchronizingObject
StreamReader standardError
RegisteredWaitHandle registeredWaitHandle
void SetProcessId(int processId)
ProcessPriorityClass PriorityClass
Process.StreamReadMode errorStreamReadMode
static Process GetCurrentProcess()
bool StartWithCreateProcess(ProcessStartInfo startInfo)
bool StartWithShellExecuteEx(ProcessStartInfo startInfo)
override string ToString()
static OperatingSystem OSVersion
override string ToString()
static CultureInfo CurrentCulture
readonly PlatformID _platform
static IntPtr SecureStringToBSTR(SecureString s)
static void Exit(object obj)