How to end CPU Processes
Windows Forms
3
Posts
3
Posters
0
Views
1
Watching
-
Hi I want to create a c# program and i have a question: How can I end a process that running in CPU? Thanks.
-
Hi I want to create a c# program and i have a question: How can I end a process that running in CPU? Thanks.
Get it's Process instance from Process.GetProcessByName (or whatever your need requires) and call its CloseMainWindow method, or (more risky) its Kill method. Process class docs[^]
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Hi I want to create a c# program and i have a question: How can I end a process that running in CPU? Thanks.