Hello all,
if(downloadThread.IsAlive)
{
downloadThread.Suspend();
DialogResult ans = MessageBox.Show(
downloadThread.ThreadState.ToString()
,"Application",MessageBoxButtons.OK,MessageBoxIcon .Information);
..........
Though I try to suspend the thread it does not get suspended. And the status
is shown as suspendrequested,WaitSleepJoin. Why is it so? I am downloading
files from a URL, in the thread.
Thanks
Seesharp
-------------------------------------------------------------
Don't be dismayed at good-byes. A farewell is necessary before you can meet
again. And meeting again, after moments or lifetimes, is certain for those
who are friends.
~~~Illusions: The Adventures of a Reluctant Messiah