Hi

In my program, i write trace in a file like this:

***************************************************************************
StreamWriter stWriter = new StreamWriter("c:traces",false);
listener t = new TextWriterTraceListener(stWriter);

Debug.Listeners.Clear();
Debug.Listeners.Add(t);

Debug.AutoFlush = true;
Debug.WriteLine("test");

Debug.Close();
stWriter.Close();
***************************************************************************

Please, how i can set the size of the file. For example, if i want a file
of 100 ko maximum.

Thanks