Killing threads
I am developing C# application which is having some hardware dependencies. While initializing application in one of my class i am starting all harware threads. When i modify some settings i need to restart the application.
How can i make sure that all threads should be killed before doing Application.Restart()?
Is their any way which will kill all running threads simultaneously instead of killing specific threads one by one.
Thanks.

