❔ How to close a process's handle?

Hey folks, I'm trying to automate something that I've been doing manually through Process Explorer - closing a process's handle. I have a picture attached showing what I do manually.

I can get access to a Process object for this process, but I'm not sure where to go from here (if this is even the right direction). Does anyone know what I could try here?
image.png
Was this page helpful?