A value that can be used to identify a process. The value is valid from the time the process is created until all handles to the process are closed and the process object is freed; at this point, the identifier may be reused.
publicintdwProcessId
return
int
dwThreadId public property
A value that can be used to identify a thread. The value is valid from the time the thread is created until all handles to the thread are closed and the thread object is freed; at this point, the identifier may be reused.
publicintdwThreadId
return
int
hProcess public property
A handle to the newly created process. The handle is used to specify the process in all functions that perform operations on the process object.
publicIntPtr,SystemhProcess
return
System.IntPtr
hThread public property
A handle to the primary thread of the newly created process. The handle is used to specify the thread in all functions that perform operations on the thread object.