Gets the native handle of the associated process.
Assembly: System (in System.dll)
You are trying to access theproperty for a process that is running on a remote computer. This property is available only for processes that are running on the local computer.
An application can obtain a handle to a process that can be used as a parameter to many process-information and control functions. You can use this handle to initialize a WaitHandle or to call native methods with platform invoke.
This process handle is private to an application--in other words, process handles cannot be shared. A process also has a process Id which, unlike the , is unique and, therefore, valid throughout the system.
for full trust for the immediate caller. This member cannot be used by partially trusted code.
Available since 1.1