[DllImport("kernel32.dll", SetLastError=true)]
static extern bool GetProcessHandleCount(IntPtr hProcess, ref UInt32 dwHandleCount);
None.
Process.HandleCount Property
None.
Please add some!
UInt32 handles = 0;
GetProcessHandleCount(Process.GetCurrentProcess().Handle, ref handles);
Console.Write("HANDLE: " + handles);