Process.HandleCount Process.HandleCount Process.HandleCount Process.HandleCount Property

Definition

Gets the number of handles opened by the process.

public:
 property int HandleCount { int get(); };
public int HandleCount { get; }
member this.HandleCount : int
Public ReadOnly Property HandleCount As Integer

Property Value

The number of operating system handles the process has opened.

Remarks

Handles provide a way for a process to refer to objects. A process can obtain handles to files, resources, message queues, and many other operating system objects. The operating system reclaims the memory associated with the process only when the handle count is zero.

Security

LinkDemand
for full trust for the immediate caller. This member cannot be used by partially trusted code.

Applies to

See also