[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=Component,MarshalByRefObject,Object,Process Info=Provides access to local and remote processes and enables you to start and stop local system processes. [Property] Name=Sets the name of the component. ARG(string)|2| @MaxWorkingSet=Sets the maximum allowable working set size for the associated process. ARG(IntPtr)|20|(empty)|IntPtr @MinWorkingSet=Sets the minimum allowable working set size for the associated process. ARG(IntPtr)|20|(empty)|IntPtr @PriorityBoostEnabled=Sets a value indicating whether the associated process priority should temporarily be boosted by the operating system when the main window has the focus. ARG(bool)|14|1|True,False @PriorityClass=Sets the overall priority category for the associated process. ARG(ProcessPriorityClass)|14|0|Normal,Idle,AboveNormal @ProcessorAffinity=Sets the processors on which the threads in this process can be scheduled to run. ARG(IntPtr)|20|(empty)|IntPtr @StartInfo=Sets the properties to pass to the Start method of the Process. ARG(ProcessStartInfo)|20|(empty)|ProcessStartInfo [Methods] *doBeginErrorReadLine=Begins asynchronous read operations on the redirected StandardError stream of the application. ARG()|1|0 *doBeginOutputReadLine=Begins asynchronous read operations on the redirected StandardOutput stream of the application. ARG()|1|0 *doCancelErrorRead=Cancels the asynchronous read operation on the redirected StandardError stream of an application. ARG()|1|0 *doCancelOutputRead=Cancels the asynchronous read operation on the redirected StandardOutput stream of an application. ARG()|1|0 *doClose=Frees all the resources that are associated with this component. ARG()|1|0 *doEnableRaisingEvents=Sets whether the Exited event should be raised when the process terminates. ARG(bool)|1|0 *doEnterDebugMode=Puts a Process component in state to interact with operating system processes that run in a special mode by enabling the native property SeDebugPrivilege on the current thread. ARG()|1|0 *doGetProcessById=Returns a new Process component, given the identifier of a process on the local computer. ARG(int processId)|1|0 *doGetProcessById2=Returns a new Process component, given a process identifier and the name of a computer on the network. ARG(int processId, string computer)|1|0 *doGetProcesses2=Creates a new Process component for each process resource on the specified computer. ARG(string computer)|1|0 *doGetProcessesByName=Creates an array of new Process components and associates them with all the process resources on the local computer that share the specified process name. ARG(string procName)|1|0 *doGetProcessesByName2=Creates an array of new Process components and associates them with all the process resources on a remote computer that share the specified process name. ARG(string procName, string computer)|1|0 doKill=Immediately stops the associated process. ARG()|1|0 *doLeaveDebugMode=Takes a Process component out of the state that lets it interact with operating system processes that run in a special mode. ARG()|1|0 *doRefresh=Discards any information about the associated process that has been cached inside the process component. ARG()|1|0 *doStart2=Starts the process resource that is specified by the parameter containing process start information and associates the resource with a new Process component. ARG(ProcessStartInfo startInfo)|1|0 *doStart3=Starts a process resource by specifying the name of a document or application file and associates the resource with a new Process component. ARG(string fileName)|1|0 *doStart4=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 Process component. ARG(string fileName, string arguments)|1|0 *doStart5=Starts a process resource by specifying the name of an application, a user name, a password, and a domain and associates the resource with a new Process component. ARG(string fileName, string userName, SecureString password, string domain)|1|0 *doStart6=Starts a process resource by specifying the name of an application, a set of command-line arguments, a user name, a password, and a domain and associates the resource with a new Process component. ARG(string fileName, string arguments, string userName, SecureString password, string domain)|1|0 *doStartInfo=Sets the properties to pass to the Start method of the Process. ARG(ProcessStartInfo)|1|0 *doSynchronizingObject=Sets the object used to marshal the event handler calls that are issued as a result of a process exit event. ARG(ISynchronizeInvoke)|1|0 *doWaitForExit=Instructs the Process component to wait indefinitely for the associated process to exit. ARG()|1|0 *doWaitForExit2=Instructs the Process component to wait the specified number of milliseconds for the associated process to exit. ARG(int milliseconds)|1|0 *doWaitForInputIdle2=Causes the Process component to wait the specified number of milliseconds for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop. ARG(int milliseconds)|1|0 *onErrorDataReceived=Occurs when an application writes to its redirected StandardError stream. ARG(DataReceivedEventArgs)|2|0 *onExited=Occurs when a process exits. ARG(EventArgs)|2|0 *onGetProcessById=Occurs after invoke the method doGetProcessById and returns the result ARG(Process)|2|0 *onGetProcesses=Occurs after invoke the method doGetProcesses and returns the result ARG(Process[])|2|13 *onGetProcessesByName=Occurs after invoke the method doGetProcessesByName and returns the result ARG(Process[])|2|13 *onOutputDataReceived=Occurs when an application writes to its redirected StandardOutput stream. ARG(DataReceivedEventArgs)|2|0 onStart=Occurs after invoke the method doStart and returns the result ARG(Process)|2|0 *onWaitForExit=Occurs after invoke the method doWaitForExit and returns the result ARG(bool)|2|104 *onWaitForInputIdle=Occurs after invoke the method doWaitForInputIdle and returns the result ARG(bool)|2|104 *BasePriority=Returns the base priority of the associated process. ARG(int)|3|1 *CloseMainWindow=Closes a process that has a user interface by sending a close message to its main window. ARG(bool)|3|104 *EnableRaisingEvents=Returns whether the Exited event should be raised when the process terminates. ARG(bool)|3|104 *ExitCode=Returns the value that the associated process specified when it terminated. ARG(int)|3|1 *ExitTime=Returns the time that the associated process exited. ARG(DateTime)|3|0 *GetCurrentProcess=Gets a new Process component and associates it with the currently active process. ARG(Process)|3|0 *GetProcesses=Creates a new Process component for each process resource on the local computer. ARG(Process[])|3|13 *Handle=Returns the native handle of the associated process. ARG(IntPtr)|3|0 *HandleCount=Returns the number of handles opened by the process. ARG(int)|3|1 *HasExited=Returns a value indicating whether the associated process has been terminated. ARG(bool)|3|104 *Id=Returns the unique identifier for the associated process. ARG(int)|3|1 *MachineName=Returns the name of the computer the associated process is running on. ARG(string)|3|2 *MainModule=Returns the main module for the associated process. ARG(ProcessModule)|3|0 *MainWindowHandle=Returns the window handle of the main window of the associated process. ARG(IntPtr)|3|0 *MainWindowTitle=Returns the caption of the main window of the process. ARG(string)|3|2 *MaxWorkingSet=Returns the maximum allowable working set size for the associated process. ARG(IntPtr)|3|0 *MinWorkingSet=Returns the minimum allowable working set size for the associated process. ARG(IntPtr)|3|0 *Modules=Returns the modules that have been loaded by the associated process. ARG(ProcessModuleCollection)|3|0 *NonpagedSystemMemorySize=Obsolete. Gets the nonpaged system memory size allocated to this process. ARG(int)|3|1 *NonpagedSystemMemorySize64=Returns the amount of nonpaged system memory allocated for the associated process. ARG(long)|3|105 *PagedMemorySize=Obsolete. Gets the paged memory size. ARG(int)|3|1 *PagedMemorySize64=Returns the amount of paged memory allocated for the associated process. ARG(long)|3|105 *PagedSystemMemorySize=Obsolete. Gets the paged system memory size. ARG(int)|3|1 *PagedSystemMemorySize64=Returns the amount of pageable system memory allocated for the associated process. ARG(long)|3|105 *PeakPagedMemorySize=Obsolete. Gets the peak paged memory size. ARG(int)|3|1 *PeakPagedMemorySize64=Returns the maximum amount of memory in the virtual memory paging file used by the associated process. ARG(long)|3|105 *PeakVirtualMemorySize=Obsolete. Gets the peak virtual memory size. ARG(int)|3|1 *PeakVirtualMemorySize64=Returns the maximum amount of virtual memory used by the associated process. ARG(long)|3|105 *PeakWorkingSet=Obsolete. Gets the peak working set size for the associated process. ARG(int)|3|1 *PeakWorkingSet64=Returns the maximum amount of physical memory used by the associated process. ARG(long)|3|105 *PriorityBoostEnabled=Returns a value indicating whether the associated process priority should temporarily be boosted by the operating system when the main window has the focus. ARG(bool)|3|104 *PriorityClass=Returns the overall priority category for the associated process. ARG(ProcessPriorityClass)|3|0 *PrivateMemorySize=Obsolete. Gets the private memory size. ARG(int)|3|1 *PrivateMemorySize64=Returns the amount of private memory allocated for the associated process. ARG(long)|3|105 *PrivilegedProcessorTime=Returns the privileged processor time for this process. ARG(TimeSpan)|3|0 *ProcessName=Returns the name of the process. ARG(string)|3|2 *ProcessorAffinity=Returns the processors on which the threads in this process can be scheduled to run. ARG(IntPtr)|3|0 *Responding=Returns a value indicating whether the user interface of the process is responding. ARG(bool)|3|104 *SessionId=Returns the Terminal Services session identifier for the associated process. ARG(int)|3|1 *StandardError=Returns a stream used to read the error output of the application. ARG(StreamReader)|3|0 *StandardInput=Returns a stream used to write the input of the application. ARG(StreamWriter)|3|0 *StandardOutput=Returns a stream used to read the output of the application. ARG(StreamReader)|3|0 Start=Starts the process resource that is specified by the StartInfo property of this Process component and associates it with the component. ARG(bool)|3|104 *StartTime=Returns the time that the associated process was started. ARG(DateTime)|3|0 *SynchronizingObject=Returns the object used to marshal the event handler calls that are issued as a result of a process exit event. ARG(ISynchronizeInvoke)|3|0 *Threads=Returns the set of threads that are running in the associated process. ARG(ProcessThreadCollection)|3|0 *ToString=Formats the process's name as a string, combined with the parent component type, if applicable. ARG(string)|3|2 *TotalProcessorTime=Returns the total processor time for this process. ARG(TimeSpan)|3|0 *UserProcessorTime=Returns the user processor time for this process. ARG(TimeSpan)|3|0 *VirtualMemorySize=Obsolete. Gets the size of the process's virtual memory. ARG(int)|3|1 *VirtualMemorySize64=Returns the amount of the virtual memory allocated for the associated process. ARG(long)|3|105 *WaitForInputIdle=Causes the Process component to wait indefinitely for the associated process to enter an idle state. This overload applies only to processes with a user interface and, therefore, a message loop. ARG(bool)|3|104 *WorkingSet=Obsolete. Gets the associated process's physical memory usage. ARG(int)|3|1 *WorkingSet64=Returns the amount of physical memory allocated for the associated process. ARG(long)|3|105 Process=Returns the Process object. ARG(Process)|3|0 *arguments=Defines the command-line arguments to pass when starting the process. ARG(string)|4|2 computer=Defines the name of a computer on the network. ARG(string)|4|2 *domain=Defines the domain to use when starting the process. ARG(string)|4|2 fileName=Defines the name of a document or application file to run in the process. ARG(string)|4|2 *milliseconds=Defines 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. ARG(int)|4|1 *password=Defines a SecureString that contains the password to use when starting the process. ARG(SecureString)|4|0 *processId=Defines the system-unique identifier of a process resource. ARG(int)|4|1 *procName=Defines the friendly name of the process. ARG(string)|4|2 *startInfo=Defines the ProcessStartInfo that contains the information that is used to start the process, including the file name and any command-line arguments. ARG(ProcessStartInfo)|4|0 *userName=Defines the user name to use when starting the process. ARG(string)|4|2