I have an application that searches through log files for a string match. Its not uncommon that I'm searching through hundreds of files at a time, and sometimes I want to pause or stop the search.
How can I implement a pause or stop function that pauses/stops the 'Search' method, for example?
Chongo84 pointsPosted Apr 17, 2008, 5:17 AM EDT
System.Threading.Thread.Sleep(time);
MSDN: here
Thread Sleep: here