Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!



How can i make a C# Form to make a PC slow down ?

By Dimitris Kele ·
Hello, i was given a project from my programming teacher .
The purpose of it was to : Create a C# form that reproduces itself when somebody tries to close it, can't be closed by task manager and make your PC slow down. (It is a Virus-like form).
I completed the first two tasks but i am stuck to the 3rd one.
The teacher downloaded a freaking programm which Killed it instantly.
(hours of work gone to nothing just like that - i really hated that ironic smile at his face-)
Now i need some help to make my Form slow down the PC so much, that nothing else could run. (ie, Make the form's Priority "Real Time" so that the pc slows down too)
I tried using some threads but i couldnt understand the use of them.
Any advice will be appriciated !

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by cmiller5400 In reply to How can i make a C# Form ...

This smells funny. Why would a teacher give this assignment out?

And yup, there is a program called Kill that will kill any process running, so that's out.

Collapse -

And you don't know how to set a process priority?

by seanferd In reply to How can i make a C# Form ...

You don't even need code to do that.

Related Discussions

Related Forums