868 lines
40 KiB
C#
868 lines
40 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading;
|
|
using Cpp2IlInjected;
|
|
using Microsoft.Win32.SafeHandles;
|
|
|
|
namespace System.Diagnostics
|
|
{
|
|
/// <summary>Provides access to local and remote processes and enables you to start and stop local system processes.</summary>
|
|
// Token: 0x020000C9 RID: 201
|
|
[Token(Token = "0x20000C9")]
|
|
[DefaultEvent("Exited")]
|
|
[Designer("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
[DefaultProperty("StartInfo")]
|
|
[MonitoringDescription("Provides access to local and remote processes, enabling starting and stopping of local processes.")]
|
|
public class Process : Component
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Process" /> class.</summary>
|
|
// Token: 0x060004C1 RID: 1217 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004C1")]
|
|
[Address(RVA = "0x28AAA90", Offset = "0x28A9890", VA = "0x1828AAA90")]
|
|
public Process()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004C2 RID: 1218 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004C2")]
|
|
[Address(RVA = "0x28AA9F0", Offset = "0x28A97F0", VA = "0x1828AA9F0")]
|
|
private Process(string machineName, bool isRemoteMachine, int processId, ProcessInfo processInfo)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170000AC RID: 172
|
|
// (get) Token: 0x060004C3 RID: 1219 RVA: 0x00003F18 File Offset: 0x00002118
|
|
[Token(Token = "0x170000AC")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[Browsable(false)]
|
|
[MonitoringDescription("Indicates if the process component is associated with a real process.")]
|
|
private bool Associated
|
|
{
|
|
[Token(Token = "0x60004C3")]
|
|
[Address(RVA = "0x28AAB00", Offset = "0x28A9900", VA = "0x1828AAB00")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the associated process has been terminated.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the operating system process referenced by the <see cref="T:System.Diagnostics.Process" /> component has terminated; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">There is no process associated with the object.</exception>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">The exit code for the process could not be retrieved.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">You are trying to access the <see cref="P:System.Diagnostics.Process.HasExited" /> 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.</exception>
|
|
// Token: 0x170000AD RID: 173
|
|
// (get) Token: 0x060004C4 RID: 1220 RVA: 0x00003F30 File Offset: 0x00002130
|
|
[Token(Token = "0x170000AD")]
|
|
[MonitoringDescription("Indicates if the associated process has been terminated.")]
|
|
[Browsable(false)]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
public bool HasExited
|
|
{
|
|
[Token(Token = "0x60004C4")]
|
|
[Address(RVA = "0x28AABF0", Offset = "0x28A99F0", VA = "0x1828AABF0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the native handle of the associated process.</summary>
|
|
/// <returns>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.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The process has not been started or has exited. The <see cref="P:System.Diagnostics.Process.Handle" /> property cannot be read because there is no process associated with this <see cref="T:System.Diagnostics.Process" /> instance.
|
|
/// -or-
|
|
/// The <see cref="T:System.Diagnostics.Process" /> instance has been attached to a running process but you do not have the necessary permissions to get a handle with full access rights.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">You are trying to access the <see cref="P:System.Diagnostics.Process.Handle" /> 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.</exception>
|
|
// Token: 0x170000AE RID: 174
|
|
// (get) Token: 0x060004C5 RID: 1221 RVA: 0x00003F48 File Offset: 0x00002148
|
|
[Token(Token = "0x170000AE")]
|
|
[Browsable(false)]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[MonitoringDescription("Returns the native handle for this process. The handle is only available if the process was started using this component.")]
|
|
public IntPtr Handle
|
|
{
|
|
[Token(Token = "0x60004C5")]
|
|
[Address(RVA = "0x28AAB10", Offset = "0x28A9910", VA = "0x1828AAB10")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the unique identifier for the associated process.</summary>
|
|
/// <returns>The system-generated unique identifier of the process that is referenced by this <see cref="T:System.Diagnostics.Process" /> instance.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The process's <see cref="P:System.Diagnostics.Process.Id" /> property has not been set.
|
|
/// -or-
|
|
/// There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.</exception>
|
|
/// <exception cref="T:System.PlatformNotSupportedException">The platform is Windows 98 or Windows Millennium Edition (Windows Me); set the <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> property to <see langword="false" /> to access this property on Windows 98 and Windows Me.</exception>
|
|
// Token: 0x170000AF RID: 175
|
|
// (get) Token: 0x060004C6 RID: 1222 RVA: 0x00003F60 File Offset: 0x00002160
|
|
[Token(Token = "0x170000AF")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[MonitoringDescription("The unique identifier for the process.")]
|
|
public int Id
|
|
{
|
|
[Token(Token = "0x60004C6")]
|
|
[Address(RVA = "0x28AAEB0", Offset = "0x28A9CB0", VA = "0x1828AAEB0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the properties to pass to the <see cref="M:System.Diagnostics.Process.Start" /> method of the <see cref="T:System.Diagnostics.Process" />.</summary>
|
|
/// <returns>The <see cref="T:System.Diagnostics.ProcessStartInfo" /> 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.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The value that specifies the <see cref="P:System.Diagnostics.Process.StartInfo" /> is <see langword="null" />.</exception>
|
|
// Token: 0x170000B0 RID: 176
|
|
// (get) Token: 0x060004C7 RID: 1223 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060004C8 RID: 1224 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170000B0")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
|
|
[Browsable(false)]
|
|
[MonitoringDescription("Specifies information used to start a process.")]
|
|
public ProcessStartInfo StartInfo
|
|
{
|
|
[Token(Token = "0x60004C7")]
|
|
[Address(RVA = "0x28AB310", Offset = "0x28AA110", VA = "0x1828AB310")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60004C8")]
|
|
[Address(RVA = "0x28AB4E0", Offset = "0x28AA2E0", VA = "0x1828AB4E0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the object used to marshal the event handler calls that are issued as a result of a process exit event.</summary>
|
|
/// <returns>The <see cref="T:System.ComponentModel.ISynchronizeInvoke" /> used to marshal event handler calls that are issued as a result of an <see cref="E:System.Diagnostics.Process.Exited" /> event on the process.</returns>
|
|
// Token: 0x170000B1 RID: 177
|
|
// (get) Token: 0x060004C9 RID: 1225 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000B1")]
|
|
[MonitoringDescription("The object used to marshal the event handler calls issued as a result of a Process exit.")]
|
|
[Browsable(false)]
|
|
[DefaultValue(null)]
|
|
public ISynchronizeInvoke SynchronizingObject
|
|
{
|
|
[Token(Token = "0x60004C9")]
|
|
[Address(RVA = "0x28AB3C0", Offset = "0x28AA1C0", VA = "0x1828AB3C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a stream used to write the input of the application.</summary>
|
|
/// <returns>A <see cref="T:System.IO.StreamWriter" /> that can be used to write the standard input stream of the application.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Diagnostics.Process.StandardInput" /> stream has not been defined because <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardInput" /> is set to <see langword="false" />.</exception>
|
|
// Token: 0x170000B2 RID: 178
|
|
// (get) Token: 0x060004CA RID: 1226 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000B2")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[MonitoringDescription("Standard input stream of the process.")]
|
|
[Browsable(false)]
|
|
public StreamWriter StandardInput
|
|
{
|
|
[Token(Token = "0x60004CA")]
|
|
[Address(RVA = "0x28AB1A0", Offset = "0x28A9FA0", VA = "0x1828AB1A0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a stream used to read the textual output of the application.</summary>
|
|
/// <returns>A <see cref="T:System.IO.StreamReader" /> that can be used to read the standard output stream of the application.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Diagnostics.Process.StandardOutput" /> stream has not been defined for redirection; ensure <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardOutput" /> is set to <see langword="true" /> and <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> is set to <see langword="false" />.
|
|
/// -or-
|
|
/// The <see cref="P:System.Diagnostics.Process.StandardOutput" /> stream has been opened for asynchronous read operations with <see cref="M:System.Diagnostics.Process.BeginOutputReadLine" />.</exception>
|
|
// Token: 0x170000B3 RID: 179
|
|
// (get) Token: 0x060004CB RID: 1227 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000B3")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[Browsable(false)]
|
|
[MonitoringDescription("Standard output stream of the process.")]
|
|
public StreamReader StandardOutput
|
|
{
|
|
[Token(Token = "0x60004CB")]
|
|
[Address(RVA = "0x28AB230", Offset = "0x28AA030", VA = "0x1828AB230")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a stream used to read the error output of the application.</summary>
|
|
/// <returns>A <see cref="T:System.IO.StreamReader" /> that can be used to read the standard error stream of the application.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Diagnostics.Process.StandardError" /> stream has not been defined for redirection; ensure <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardError" /> is set to <see langword="true" /> and <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> is set to <see langword="false" />.
|
|
/// -or-
|
|
/// The <see cref="P:System.Diagnostics.Process.StandardError" /> stream has been opened for asynchronous read operations with <see cref="M:System.Diagnostics.Process.BeginErrorReadLine" />.</exception>
|
|
// Token: 0x170000B4 RID: 180
|
|
// (get) Token: 0x060004CC RID: 1228 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000B4")]
|
|
[MonitoringDescription("Standard error stream of the process.")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
[Browsable(false)]
|
|
public StreamReader StandardError
|
|
{
|
|
[Token(Token = "0x60004CC")]
|
|
[Address(RVA = "0x28AB0C0", Offset = "0x28A9EC0", VA = "0x1828AB0C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060004CD RID: 1229 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004CD")]
|
|
[Address(RVA = "0x28A8DE0", Offset = "0x28A7BE0", VA = "0x1828A8DE0")]
|
|
private void ReleaseProcessHandle(SafeProcessHandle handle)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004CE RID: 1230 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004CE")]
|
|
[Address(RVA = "0x28A7AC0", Offset = "0x28A68C0", VA = "0x1828A7AC0")]
|
|
private void CompletionCallback(object context, bool wasSignaled)
|
|
{
|
|
}
|
|
|
|
/// <summary>Release all resources used by this process.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
|
// Token: 0x060004CF RID: 1231 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004CF")]
|
|
[Address(RVA = "0x28A7DF0", Offset = "0x28A6BF0", VA = "0x1828A7DF0", Slot = "14")]
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Frees all the resources that are associated with this component.</summary>
|
|
// Token: 0x060004D0 RID: 1232 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D0")]
|
|
[Address(RVA = "0x28A7920", Offset = "0x28A6720", VA = "0x1828A7920")]
|
|
public void Close()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004D1 RID: 1233 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D1")]
|
|
[Address(RVA = "0x28A7E40", Offset = "0x28A6C40", VA = "0x1828A7E40")]
|
|
private void EnsureState(Process.State state)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004D2 RID: 1234 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D2")]
|
|
[Address(RVA = "0x28A8060", Offset = "0x28A6E60", VA = "0x1828A8060")]
|
|
private void EnsureWatchingForExit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a new <see cref="T:System.Diagnostics.Process" /> component and associates it with the currently active process.</summary>
|
|
/// <returns>A new <see cref="T:System.Diagnostics.Process" /> component associated with the process resource that is running the calling application.</returns>
|
|
// Token: 0x060004D3 RID: 1235 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004D3")]
|
|
[Address(RVA = "0x28A8320", Offset = "0x28A7120", VA = "0x1828A8320")]
|
|
public static Process GetCurrentProcess()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Raises the <see cref="E:System.Diagnostics.Process.Exited" /> event.</summary>
|
|
// Token: 0x060004D4 RID: 1236 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D4")]
|
|
[Address(RVA = "0x28A8910", Offset = "0x28A7710", VA = "0x1828A8910")]
|
|
protected void OnExited()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004D5 RID: 1237 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004D5")]
|
|
[Address(RVA = "0x28A83F0", Offset = "0x28A71F0", VA = "0x1828A83F0")]
|
|
private SafeProcessHandle GetProcessHandle(int access, bool throwIfExited)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060004D6 RID: 1238 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004D6")]
|
|
[Address(RVA = "0x28A83E0", Offset = "0x28A71E0", VA = "0x1828A83E0")]
|
|
private SafeProcessHandle GetProcessHandle(int access)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060004D7 RID: 1239 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004D7")]
|
|
[Address(RVA = "0x28A8B70", Offset = "0x28A7970", VA = "0x1828A8B70")]
|
|
private SafeProcessHandle OpenProcessHandle(int access)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Discards any information about the associated process that has been cached inside the process component.</summary>
|
|
// Token: 0x060004D8 RID: 1240 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D8")]
|
|
[Address(RVA = "0x28A8DB0", Offset = "0x28A7BB0", VA = "0x1828A8DB0")]
|
|
public void Refresh()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004D9 RID: 1241 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004D9")]
|
|
[Address(RVA = "0x28A8E00", Offset = "0x28A7C00", VA = "0x1828A8E00")]
|
|
private void SetProcessHandle(SafeProcessHandle processHandle)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004DA RID: 1242 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004DA")]
|
|
[Address(RVA = "0x28A8E20", Offset = "0x28A7C20", VA = "0x1828A8E20")]
|
|
private void SetProcessId(int processId)
|
|
{
|
|
}
|
|
|
|
/// <summary>Starts (or reuses) the process resource that is specified by the <see cref="P:System.Diagnostics.Process.StartInfo" /> property of this <see cref="T:System.Diagnostics.Process" /> component and associates it with the component.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if a process resource is started; <see langword="false" /> if no new process resource is started (for example, if an existing process is reused).</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">No file name was specified in the <see cref="T:System.Diagnostics.Process" /> component's <see cref="P:System.Diagnostics.Process.StartInfo" />.
|
|
/// -or-
|
|
/// The <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> member of the <see cref="P:System.Diagnostics.Process.StartInfo" /> property is <see langword="true" /> while <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardInput" />, <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardOutput" />, or <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardError" /> is <see langword="true" />.</exception>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">There was an error in opening the associated file.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The process object has already been disposed.</exception>
|
|
/// <exception cref="T:System.PlatformNotSupportedException">Method not supported on operating systems without shell support such as Nano Server (.NET Core only).</exception>
|
|
// Token: 0x060004DB RID: 1243 RVA: 0x00003F78 File Offset: 0x00002178
|
|
[Token(Token = "0x60004DB")]
|
|
[Address(RVA = "0x28AA3F0", Offset = "0x28A91F0", VA = "0x1828AA3F0")]
|
|
public bool Start()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>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 <see cref="T:System.Diagnostics.Process" /> component.</summary>
|
|
/// <param name="fileName">The name of an application file to run in the process.</param>
|
|
/// <param name="arguments">Command-line arguments to pass when starting the process.</param>
|
|
/// <returns>A new <see cref="T:System.Diagnostics.Process" /> that is associated with the process resource, or <see langword="null" /> 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 <see cref="P:System.Diagnostics.Process.HasExited" /> property already set to <see langword="true" />. In this case, the started process may have activated an existing instance of itself and then exited.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The <paramref name="fileName" /> or <paramref name="arguments" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">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."</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The process object has already been disposed.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The PATH environment variable has a string containing quotes.</exception>
|
|
// Token: 0x060004DC RID: 1244 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004DC")]
|
|
[Address(RVA = "0x28AA380", Offset = "0x28A9180", VA = "0x1828AA380")]
|
|
public static Process Start(string fileName, string arguments)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>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 <see cref="T:System.Diagnostics.Process" /> component.</summary>
|
|
/// <param name="startInfo">The <see cref="T:System.Diagnostics.ProcessStartInfo" /> that contains the information that is used to start the process, including the file name and any command-line arguments.</param>
|
|
/// <returns>A new <see cref="T:System.Diagnostics.Process" /> that is associated with the process resource, or <see langword="null" /> 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 <see cref="P:System.Diagnostics.Process.HasExited" /> property already set to <see langword="true" />. In this case, the started process may have activated an existing instance of itself and then exited.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">No file name was specified in the <paramref name="startInfo" /> parameter's <see cref="P:System.Diagnostics.ProcessStartInfo.FileName" /> property.
|
|
/// -or-
|
|
/// The <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> property of the <paramref name="startInfo" /> parameter is <see langword="true" /> and the <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardInput" />, <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardOutput" />, or <see cref="P:System.Diagnostics.ProcessStartInfo.RedirectStandardError" /> property is also <see langword="true" />.
|
|
/// -or-
|
|
/// The <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> property of the <paramref name="startInfo" /> parameter is <see langword="true" /> and the <see cref="P:System.Diagnostics.ProcessStartInfo.UserName" /> property is not <see langword="null" /> or empty or the <see cref="P:System.Diagnostics.ProcessStartInfo.Password" /> property is not <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="startInfo" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The process object has already been disposed.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in the <paramref name="startInfo" /> parameter's <see cref="P:System.Diagnostics.ProcessStartInfo.FileName" /> property could not be found.</exception>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">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."</exception>
|
|
/// <exception cref="T:System.PlatformNotSupportedException">Method not supported on operating systems without shell support such as Nano Server (.NET Core only).</exception>
|
|
// Token: 0x060004DD RID: 1245 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004DD")]
|
|
[Address(RVA = "0x28AA100", Offset = "0x28A8F00", VA = "0x1828AA100")]
|
|
public static Process Start(ProcessStartInfo startInfo)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Immediately stops the associated process.</summary>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">The associated process could not be terminated.
|
|
/// -or-
|
|
/// The process is terminating.
|
|
/// -or-
|
|
/// The associated process is a Win16 executable.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">You are attempting to call <see cref="M:System.Diagnostics.Process.Kill" /> for a process that is running on a remote computer. The method is available only for processes running on the local computer.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The process has already exited.
|
|
/// -or-
|
|
/// There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.</exception>
|
|
// Token: 0x060004DE RID: 1246 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004DE")]
|
|
[Address(RVA = "0x28A8820", Offset = "0x28A7620", VA = "0x1828A8820")]
|
|
public void Kill()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004DF RID: 1247 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004DF")]
|
|
[Address(RVA = "0x28AA580", Offset = "0x28A9380", VA = "0x1828AA580")]
|
|
private void StopWatchingForExit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Formats the process's name as a string, combined with the parent component type, if applicable.</summary>
|
|
/// <returns>The <see cref="P:System.Diagnostics.Process.ProcessName" />, combined with the base component's <see cref="M:System.Object.ToString" /> return value.</returns>
|
|
/// <exception cref="T:System.PlatformNotSupportedException">
|
|
/// <see cref="M:System.Diagnostics.Process.ToString" /> is not supported on Windows 98.</exception>
|
|
// Token: 0x060004E0 RID: 1248 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E0")]
|
|
[Address(RVA = "0x28AA670", Offset = "0x28A9470", VA = "0x1828AA670", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Instructs the <see cref="T:System.Diagnostics.Process" /> component to wait the specified number of milliseconds for the associated process to exit.</summary>
|
|
/// <param name="milliseconds">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.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the associated process has exited; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">The wait setting could not be accessed.</exception>
|
|
/// <exception cref="T:System.SystemException">No process <see cref="P:System.Diagnostics.Process.Id" /> has been set, and a <see cref="P:System.Diagnostics.Process.Handle" /> from which the <see cref="P:System.Diagnostics.Process.Id" /> property can be determined does not exist.
|
|
/// -or-
|
|
/// There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.
|
|
/// -or-
|
|
/// You are attempting to call <see cref="M:System.Diagnostics.Process.WaitForExit(System.Int32)" /> for a process that is running on a remote computer. This method is available only for processes that are running on the local computer.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="milliseconds" /> is a negative number other than -1, which represents an infinite time-out.</exception>
|
|
// Token: 0x060004E1 RID: 1249 RVA: 0x00003F90 File Offset: 0x00002190
|
|
[Token(Token = "0x60004E1")]
|
|
[Address(RVA = "0x28AA780", Offset = "0x28A9580", VA = "0x1828AA780")]
|
|
public bool WaitForExit(int milliseconds)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Instructs the <see cref="T:System.Diagnostics.Process" /> component to wait indefinitely for the associated process to exit.</summary>
|
|
/// <exception cref="T:System.ComponentModel.Win32Exception">The wait setting could not be accessed.</exception>
|
|
/// <exception cref="T:System.SystemException">No process <see cref="P:System.Diagnostics.Process.Id" /> has been set, and a <see cref="P:System.Diagnostics.Process.Handle" /> from which the <see cref="P:System.Diagnostics.Process.Id" /> property can be determined does not exist.
|
|
/// -or-
|
|
/// There is no process associated with this <see cref="T:System.Diagnostics.Process" /> object.
|
|
/// -or-
|
|
/// You are attempting to call <see cref="M:System.Diagnostics.Process.WaitForExit" /> for a process that is running on a remote computer. This method is available only for processes that are running on the local computer.</exception>
|
|
// Token: 0x060004E2 RID: 1250 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004E2")]
|
|
[Address(RVA = "0x28AA9E0", Offset = "0x28A97E0", VA = "0x1828AA9E0")]
|
|
public void WaitForExit()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004E3 RID: 1251 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E3")]
|
|
[Address(RVA = "0x28A8CF0", Offset = "0x28A7AF0", VA = "0x1828A8CF0")]
|
|
private static string ProcessName_internal(IntPtr handle)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060004E4 RID: 1252 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E4")]
|
|
[Address(RVA = "0x28A8C40", Offset = "0x28A7A40", VA = "0x1828A8C40")]
|
|
private static string ProcessName_internal(SafeProcessHandle handle)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the name of the process.</summary>
|
|
/// <returns>The name that the system uses to identify the process to the user.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">The process does not have an identifier, or no process is associated with the <see cref="T:System.Diagnostics.Process" />.
|
|
/// -or-
|
|
/// The associated process has exited.</exception>
|
|
/// <exception cref="T:System.PlatformNotSupportedException">The platform is Windows 98 or Windows Millennium Edition (Windows Me); set <see cref="P:System.Diagnostics.ProcessStartInfo.UseShellExecute" /> to <see langword="false" /> to access this property on Windows 98 and Windows Me.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The process is not on this computer.</exception>
|
|
// Token: 0x170000B5 RID: 181
|
|
// (get) Token: 0x060004E5 RID: 1253 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000B5")]
|
|
[MonitoringDescription("The name of this process.")]
|
|
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
|
public string ProcessName
|
|
{
|
|
[Token(Token = "0x60004E5")]
|
|
[Address(RVA = "0x28AAF10", Offset = "0x28A9D10", VA = "0x1828AAF10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060004E6 RID: 1254 RVA: 0x00003FA8 File Offset: 0x000021A8
|
|
[Token(Token = "0x60004E6")]
|
|
[Address(RVA = "0x1B65780", Offset = "0x1B64580", VA = "0x181B65780")]
|
|
private static bool ShellExecuteEx_internal(ProcessStartInfo startInfo, ref Process.ProcInfo procInfo)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060004E7 RID: 1255 RVA: 0x00003FC0 File Offset: 0x000021C0
|
|
[Token(Token = "0x60004E7")]
|
|
[Address(RVA = "0x1B65780", Offset = "0x1B64580", VA = "0x181B65780")]
|
|
private static bool CreateProcess_internal(ProcessStartInfo startInfo, IntPtr stdin, IntPtr stdout, IntPtr stderr, ref Process.ProcInfo procInfo)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060004E8 RID: 1256 RVA: 0x00003FD8 File Offset: 0x000021D8
|
|
[Token(Token = "0x60004E8")]
|
|
[Address(RVA = "0x28A9CE0", Offset = "0x28A8AE0", VA = "0x1828A9CE0")]
|
|
private bool StartWithShellExecuteEx(ProcessStartInfo startInfo)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060004E9 RID: 1257 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004E9")]
|
|
[Address(RVA = "0x28A7AE0", Offset = "0x28A68E0", VA = "0x1828A7AE0")]
|
|
private static void CreatePipe(out IntPtr read, out IntPtr write, bool writeDirection)
|
|
{
|
|
}
|
|
|
|
// Token: 0x170000B6 RID: 182
|
|
// (get) Token: 0x060004EA RID: 1258 RVA: 0x00003FF0 File Offset: 0x000021F0
|
|
[Token(Token = "0x170000B6")]
|
|
private static bool IsWindows
|
|
{
|
|
[Token(Token = "0x60004EA")]
|
|
[Address(RVA = "0x28AAED0", Offset = "0x28A9CD0", VA = "0x1828AAED0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060004EB RID: 1259 RVA: 0x00004008 File Offset: 0x00002208
|
|
[Token(Token = "0x60004EB")]
|
|
[Address(RVA = "0x28A8E30", Offset = "0x28A7C30", VA = "0x1828A8E30")]
|
|
private bool StartWithCreateProcess(ProcessStartInfo startInfo)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060004EC RID: 1260 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004EC")]
|
|
[Address(RVA = "0x28A81C0", Offset = "0x28A6FC0", VA = "0x1828A81C0")]
|
|
private static void FillUserInfo(ProcessStartInfo startInfo, ref Process.ProcInfo procInfo)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060004ED RID: 1261 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60004ED")]
|
|
[Address(RVA = "0x28A8D00", Offset = "0x28A7B00", VA = "0x1828A8D00")]
|
|
private void RaiseOnExited()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040003A2 RID: 930
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40003A2")]
|
|
private bool haveProcessId;
|
|
|
|
// Token: 0x040003A3 RID: 931
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x40003A3")]
|
|
private int processId;
|
|
|
|
// Token: 0x040003A4 RID: 932
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40003A4")]
|
|
private bool haveProcessHandle;
|
|
|
|
// Token: 0x040003A5 RID: 933
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40003A5")]
|
|
private SafeProcessHandle m_processHandle;
|
|
|
|
// Token: 0x040003A6 RID: 934
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40003A6")]
|
|
private bool isRemoteMachine;
|
|
|
|
// Token: 0x040003A7 RID: 935
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40003A7")]
|
|
private string machineName;
|
|
|
|
// Token: 0x040003A8 RID: 936
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40003A8")]
|
|
private int m_processAccess;
|
|
|
|
// Token: 0x040003A9 RID: 937
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40003A9")]
|
|
private ProcessThreadCollection threads;
|
|
|
|
// Token: 0x040003AA RID: 938
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40003AA")]
|
|
private ProcessModuleCollection modules;
|
|
|
|
// Token: 0x040003AB RID: 939
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40003AB")]
|
|
private bool haveWorkingSetLimits;
|
|
|
|
// Token: 0x040003AC RID: 940
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40003AC")]
|
|
private IntPtr minWorkingSet;
|
|
|
|
// Token: 0x040003AD RID: 941
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40003AD")]
|
|
private IntPtr maxWorkingSet;
|
|
|
|
// Token: 0x040003AE RID: 942
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40003AE")]
|
|
private bool havePriorityClass;
|
|
|
|
// Token: 0x040003AF RID: 943
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x40003AF")]
|
|
private ProcessPriorityClass priorityClass;
|
|
|
|
// Token: 0x040003B0 RID: 944
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40003B0")]
|
|
private ProcessStartInfo startInfo;
|
|
|
|
// Token: 0x040003B1 RID: 945
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40003B1")]
|
|
private bool watchForExit;
|
|
|
|
// Token: 0x040003B2 RID: 946
|
|
[FieldOffset(Offset = "0x91")]
|
|
[Token(Token = "0x40003B2")]
|
|
private bool watchingForExit;
|
|
|
|
// Token: 0x040003B3 RID: 947
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x40003B3")]
|
|
private EventHandler onExited;
|
|
|
|
// Token: 0x040003B4 RID: 948
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x40003B4")]
|
|
private bool exited;
|
|
|
|
// Token: 0x040003B5 RID: 949
|
|
[FieldOffset(Offset = "0xA4")]
|
|
[Token(Token = "0x40003B5")]
|
|
private int exitCode;
|
|
|
|
// Token: 0x040003B6 RID: 950
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x40003B6")]
|
|
private bool signaled;
|
|
|
|
// Token: 0x040003B7 RID: 951
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x40003B7")]
|
|
private DateTime exitTime;
|
|
|
|
// Token: 0x040003B8 RID: 952
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40003B8")]
|
|
private bool haveExitTime;
|
|
|
|
// Token: 0x040003B9 RID: 953
|
|
[FieldOffset(Offset = "0xB9")]
|
|
[Token(Token = "0x40003B9")]
|
|
private bool raisedOnExited;
|
|
|
|
// Token: 0x040003BA RID: 954
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x40003BA")]
|
|
private RegisteredWaitHandle registeredWaitHandle;
|
|
|
|
// Token: 0x040003BB RID: 955
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40003BB")]
|
|
private WaitHandle waitHandle;
|
|
|
|
// Token: 0x040003BC RID: 956
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40003BC")]
|
|
private ISynchronizeInvoke synchronizingObject;
|
|
|
|
// Token: 0x040003BD RID: 957
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40003BD")]
|
|
private StreamReader standardOutput;
|
|
|
|
// Token: 0x040003BE RID: 958
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40003BE")]
|
|
private StreamWriter standardInput;
|
|
|
|
// Token: 0x040003BF RID: 959
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40003BF")]
|
|
private StreamReader standardError;
|
|
|
|
// Token: 0x040003C0 RID: 960
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x40003C0")]
|
|
private OperatingSystem operatingSystem;
|
|
|
|
// Token: 0x040003C1 RID: 961
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x40003C1")]
|
|
private bool disposed;
|
|
|
|
// Token: 0x040003C2 RID: 962
|
|
[FieldOffset(Offset = "0xFC")]
|
|
[Token(Token = "0x40003C2")]
|
|
private Process.StreamReadMode outputStreamReadMode;
|
|
|
|
// Token: 0x040003C3 RID: 963
|
|
[FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x40003C3")]
|
|
private Process.StreamReadMode errorStreamReadMode;
|
|
|
|
// Token: 0x040003C4 RID: 964
|
|
[FieldOffset(Offset = "0x104")]
|
|
[Token(Token = "0x40003C4")]
|
|
private Process.StreamReadMode inputStreamReadMode;
|
|
|
|
// Token: 0x040003C5 RID: 965
|
|
[FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x40003C5")]
|
|
[CompilerGenerated]
|
|
private DataReceivedEventHandler OutputDataReceived;
|
|
|
|
// Token: 0x040003C6 RID: 966
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x40003C6")]
|
|
[CompilerGenerated]
|
|
private DataReceivedEventHandler ErrorDataReceived;
|
|
|
|
// Token: 0x040003C7 RID: 967
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x40003C7")]
|
|
internal AsyncStreamReader output;
|
|
|
|
// Token: 0x040003C8 RID: 968
|
|
[FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x40003C8")]
|
|
internal AsyncStreamReader error;
|
|
|
|
// Token: 0x040003C9 RID: 969
|
|
[FieldOffset(Offset = "0x128")]
|
|
[Token(Token = "0x40003C9")]
|
|
internal bool pendingOutputRead;
|
|
|
|
// Token: 0x040003CA RID: 970
|
|
[FieldOffset(Offset = "0x129")]
|
|
[Token(Token = "0x40003CA")]
|
|
internal bool pendingErrorRead;
|
|
|
|
// Token: 0x040003CB RID: 971
|
|
[Token(Token = "0x40003CB")]
|
|
internal static TraceSwitch processTracing;
|
|
|
|
// Token: 0x040003CC RID: 972
|
|
[FieldOffset(Offset = "0x130")]
|
|
[Token(Token = "0x40003CC")]
|
|
private string process_name;
|
|
|
|
// Token: 0x040003CD RID: 973
|
|
[Token(Token = "0x40003CD")]
|
|
private static ProcessModule current_main_module;
|
|
|
|
// Token: 0x020000CA RID: 202
|
|
[Token(Token = "0x20000CA")]
|
|
private enum StreamReadMode
|
|
{
|
|
// Token: 0x040003CF RID: 975
|
|
[Token(Token = "0x40003CF")]
|
|
undefined,
|
|
// Token: 0x040003D0 RID: 976
|
|
[Token(Token = "0x40003D0")]
|
|
syncMode,
|
|
// Token: 0x040003D1 RID: 977
|
|
[Token(Token = "0x40003D1")]
|
|
asyncMode
|
|
}
|
|
|
|
// Token: 0x020000CB RID: 203
|
|
[Token(Token = "0x20000CB")]
|
|
private enum State
|
|
{
|
|
// Token: 0x040003D3 RID: 979
|
|
[Token(Token = "0x40003D3")]
|
|
HaveId = 1,
|
|
// Token: 0x040003D4 RID: 980
|
|
[Token(Token = "0x40003D4")]
|
|
IsLocal,
|
|
// Token: 0x040003D5 RID: 981
|
|
[Token(Token = "0x40003D5")]
|
|
IsNt = 4,
|
|
// Token: 0x040003D6 RID: 982
|
|
[Token(Token = "0x40003D6")]
|
|
HaveProcessInfo = 8,
|
|
// Token: 0x040003D7 RID: 983
|
|
[Token(Token = "0x40003D7")]
|
|
Exited = 16,
|
|
// Token: 0x040003D8 RID: 984
|
|
[Token(Token = "0x40003D8")]
|
|
Associated = 32,
|
|
// Token: 0x040003D9 RID: 985
|
|
[Token(Token = "0x40003D9")]
|
|
IsWin2k = 64,
|
|
// Token: 0x040003DA RID: 986
|
|
[Token(Token = "0x40003DA")]
|
|
HaveNtProcessInfo = 12
|
|
}
|
|
|
|
// Token: 0x020000CC RID: 204
|
|
[Token(Token = "0x20000CC")]
|
|
private struct ProcInfo
|
|
{
|
|
// Token: 0x040003DB RID: 987
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40003DB")]
|
|
public IntPtr process_handle;
|
|
|
|
// Token: 0x040003DC RID: 988
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x40003DC")]
|
|
public int pid;
|
|
|
|
// Token: 0x040003DD RID: 989
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40003DD")]
|
|
public string[] envVariables;
|
|
|
|
// Token: 0x040003DE RID: 990
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40003DE")]
|
|
public string UserName;
|
|
|
|
// Token: 0x040003DF RID: 991
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40003DF")]
|
|
public string Domain;
|
|
|
|
// Token: 0x040003E0 RID: 992
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40003E0")]
|
|
public IntPtr Password;
|
|
|
|
// Token: 0x040003E1 RID: 993
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40003E1")]
|
|
public bool LoadUserProfile;
|
|
}
|
|
}
|
|
}
|