private static Semaphore _ExceptionFileLock = new Semaphore(1, 1);
// Take Hold of File Lock
Open the file strea, write, and close....
catch (Exception objException)
// Other Exception
//Release File Lock
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)