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?
ChongoPosted Apr 17, 2008, 9:17 AM
System.Threading.Thread.Sleep(time);
MSDN: here
Thread Sleep: here